lf/https
This commit is contained in:
parent
fd7230ebe3
commit
1104b415c2
1 changed files with 12 additions and 4 deletions
16
cd.sh
16
cd.sh
|
@ -170,7 +170,9 @@ installonly_limit=3
|
||||||
skip_if_unavailable=False
|
skip_if_unavailable=False
|
||||||
"
|
"
|
||||||
CD_PM_HTTPS_PATH="/etc/dnf/dnf.conf.d/https.conf"
|
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_APK}")
|
||||||
CD_PM_CLEAN="apk cache purge"
|
CD_PM_CLEAN="apk cache purge"
|
||||||
|
@ -182,7 +184,9 @@ skip_if_unavailable=False
|
||||||
CD_PM_CONF_PATH=""
|
CD_PM_CONF_PATH=""
|
||||||
CD_PM_CONF_TEXT=""
|
CD_PM_CONF_TEXT=""
|
||||||
CD_PM_HTTPS_PATH="/etc/apk/repositories.d/https"
|
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_PACMAN}")
|
||||||
CD_PM_CLEAN="pacman --sync --clean --noconfirm"
|
CD_PM_CLEAN="pacman --sync --clean --noconfirm"
|
||||||
|
@ -194,7 +198,9 @@ skip_if_unavailable=False
|
||||||
CD_PM_CONF_PATH=""
|
CD_PM_CONF_PATH=""
|
||||||
CD_PM_CONF_TEXT=""
|
CD_PM_CONF_TEXT=""
|
||||||
CD_PM_HTTPS_PATH="/etc/pacman.d/https.conf"
|
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_APT}")
|
||||||
CD_PM_CLEAN="apt-get clean"
|
CD_PM_CLEAN="apt-get clean"
|
||||||
|
@ -212,7 +218,9 @@ APT::Install-Suggests False;
|
||||||
Dir::Etc::SourceParts \"\";
|
Dir::Etc::SourceParts \"\";
|
||||||
"
|
"
|
||||||
CD_PM_HTTPS_PATH="/etc/apt/apt.conf.d/https"
|
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
|
esac
|
||||||
cd_split
|
cd_split
|
||||||
|
|
Loading…
Reference in a new issue