This commit is contained in:
Marc Beninca 2024-06-03 21:00:28 +02:00
parent fd7230ebe3
commit 1104b415c2
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

16
cd.sh
View file

@ -170,7 +170,9 @@ installonly_limit=3
skip_if_unavailable=False
"
CD_PM_HTTPS_PATH="/etc/dnf/dnf.conf.d/https.conf"
CD_PM_HTTPS_TEXT="sslverify=False"
CD_PM_HTTPS_TEXT="\
sslverify=False
"
;;
"${CD_PM_APK}")
CD_PM_CLEAN="apk cache purge"
@ -182,7 +184,9 @@ skip_if_unavailable=False
CD_PM_CONF_PATH=""
CD_PM_CONF_TEXT=""
CD_PM_HTTPS_PATH="/etc/apk/repositories.d/https"
CD_PM_HTTPS_TEXT="--no-verify"
CD_PM_HTTPS_TEXT="\
--no-verify
"
;;
"${CD_PM_PACMAN}")
CD_PM_CLEAN="pacman --sync --clean --noconfirm"
@ -194,7 +198,9 @@ skip_if_unavailable=False
CD_PM_CONF_PATH=""
CD_PM_CONF_TEXT=""
CD_PM_HTTPS_PATH="/etc/pacman.d/https.conf"
CD_PM_HTTPS_TEXT="SSLVerify = No"
CD_PM_HTTPS_TEXT="\
SSLVerify = No
"
;;
"${CD_PM_APT}")
CD_PM_CLEAN="apt-get clean"
@ -212,7 +218,9 @@ APT::Install-Suggests False;
Dir::Etc::SourceParts \"\";
"
CD_PM_HTTPS_PATH="/etc/apt/apt.conf.d/https"
CD_PM_HTTPS_TEXT="Acquire::https::Verify-Peer False;"
CD_PM_HTTPS_TEXT="\
Acquire::https::Verify-Peer False;
"
;;
esac
cd_split