_certificates

This commit is contained in:
Marc Beninca 2024-04-30 12:31:56 +02:00
parent 292d5e0c9e
commit 1998b57e89
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

12
cd.sh
View file

@ -17,9 +17,9 @@ cd_main () {
cd_set_https_verification_off cd_set_https_verification_off
cd_update_packages_catalog cd_update_packages_catalog
cd_install_packages_tools cd_install_packages_tools
cd_install_ca cd_install_ca_certificates
cd_write_ca cd_write_ca_certificates
cd_update_ca cd_update_ca_certificates
cd_set_https_verification_on cd_set_https_verification_on
cd_update_packages_catalog cd_update_packages_catalog
cd_upgrade_packages cd_upgrade_packages
@ -186,12 +186,12 @@ cd_install_packages_tools () {
esac esac
} }
cd_install_ca () { cd_install_ca_certificates () {
cd_step "Install CA" cd_step "Install CA"
cd_install_package "${CD_CA_PACKAGE}" cd_install_package "${CD_CA_PACKAGE}"
} }
cd_write_ca () { cd_write_ca_certificates () {
local index local index
local target local target
local text local text
@ -210,7 +210,7 @@ local text
done done
} }
cd_update_ca () { cd_update_ca_certificates () {
cd_step "Update CA" cd_step "Update CA"
case "${CD_OS_NAME}" in case "${CD_OS_NAME}" in
"debian") update-ca-certificates || exit ;; "debian") update-ca-certificates || exit ;;