update_ca
Some checks failed
/ job (push) Failing after 7s

This commit is contained in:
Marc Beninca 2024-04-27 23:58:48 +02:00
parent 323b8f6ba3
commit 7e6fd6db72
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

9
cd.sh
View file

@ -12,6 +12,7 @@ cd_main () {
cd_update_packages_catalog cd_update_packages_catalog
cd_install_packages_tools cd_install_packages_tools
cd_install_ca cd_install_ca
cd_update_ca
cd_set_https_verification_on cd_set_https_verification_on
cd_update_packages_catalog cd_update_packages_catalog
cd_upgrade_packages cd_upgrade_packages
@ -163,6 +164,14 @@ cd_install_ca () {
esac 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_set_https_verification_on () {
cd_step "Set HTTPS verification on" cd_step "Set HTTPS verification on"
case "${CD_OS_NAME}" in case "${CD_OS_NAME}" in