diff --git a/cd.sh b/cd.sh index c863cda..0849e8d 100644 --- a/cd.sh +++ b/cd.sh @@ -12,6 +12,7 @@ cd_main () { cd_update_packages_catalog cd_install_packages_tools cd_install_ca + cd_update_ca cd_set_https_verification_on cd_update_packages_catalog cd_upgrade_packages @@ -163,6 +164,14 @@ cd_install_ca () { esac } +cd_update_ca () { + cd_step "Update CA" + case "${CD_OS_NAME}" in + "debian") update-ca-certificates ;; + *) exit 1 ;; + esac +} + cd_set_https_verification_on () { cd_step "Set HTTPS verification on" case "${CD_OS_NAME}" in