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