From 7e6fd6db7264668d201951635b1e27b84db5a2f7 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sat, 27 Apr 2024 23:58:48 +0200 Subject: [PATCH] update_ca --- cd.sh | 9 +++++++++ 1 file changed, 9 insertions(+) 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