From 1104b415c2b3d99f300e4561bbbe5517a724bba0 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Mon, 3 Jun 2024 21:00:28 +0200 Subject: [PATCH] lf/https --- cd.sh | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/cd.sh b/cd.sh index 64e8088..9713c98 100644 --- a/cd.sh +++ b/cd.sh @@ -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