This commit is contained in:
Marc Beninca 2024-06-07 15:25:37 +02:00
parent 1813a03803
commit 013d3bb8f3
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

2
cd.sh
View file

@ -442,7 +442,7 @@ cd_list_working_directory () {
} }
cd_set_https_verification_off () { cd_set_https_verification_off () {
if [ "${CD_CA}" -o "${CD_PM}" = "${CD_PM_APT}" ] ; then if [ "${CD_CA}" ] || [ "${CD_PM}" = "${CD_PM_APT}" ] ; then
cd_step "Set HTTPS verification off" cd_step "Set HTTPS verification off"
cd_mkdir "$(dirname "${CD_PM_HTTPS_PATH}")" cd_mkdir "$(dirname "${CD_PM_HTTPS_PATH}")"
cd_write "${CD_PM_HTTPS_PATH}" "${CD_PM_HTTPS_TEXT}" cd_write "${CD_PM_HTTPS_PATH}" "${CD_PM_HTTPS_TEXT}"