From f4b875930ed32fd28ce9f6160c16bbd27de88d2d Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Wed, 1 May 2024 20:26:11 +0200 Subject: [PATCH] cd_ca/https --- cd.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cd.sh b/cd.sh index 707cafa..2b5abdf 100644 --- a/cd.sh +++ b/cd.sh @@ -15,12 +15,12 @@ cd_main () { cd_set_packages_repositories cd_set_packages_configuration cd_write_ca_certificates - cd_set_https_verification_off + [ "${CD_CA}" ] && cd_set_https_verification_off cd_update_packages_catalog cd_install_packages_tools cd_install_ca_certificates cd_update_ca_certificates - cd_set_https_verification_on + [ "${CD_CA}" ] && cd_set_https_verification_on cd_update_packages_catalog cd_upgrade_packages cd_install_git