_certificates
This commit is contained in:
parent
292d5e0c9e
commit
1998b57e89
1 changed files with 6 additions and 6 deletions
12
cd.sh
12
cd.sh
|
@ -17,9 +17,9 @@ cd_main () {
|
|||
cd_set_https_verification_off
|
||||
cd_update_packages_catalog
|
||||
cd_install_packages_tools
|
||||
cd_install_ca
|
||||
cd_write_ca
|
||||
cd_update_ca
|
||||
cd_install_ca_certificates
|
||||
cd_write_ca_certificates
|
||||
cd_update_ca_certificates
|
||||
cd_set_https_verification_on
|
||||
cd_update_packages_catalog
|
||||
cd_upgrade_packages
|
||||
|
@ -186,12 +186,12 @@ cd_install_packages_tools () {
|
|||
esac
|
||||
}
|
||||
|
||||
cd_install_ca () {
|
||||
cd_install_ca_certificates () {
|
||||
cd_step "Install CA"
|
||||
cd_install_package "${CD_CA_PACKAGE}"
|
||||
}
|
||||
|
||||
cd_write_ca () {
|
||||
cd_write_ca_certificates () {
|
||||
local index
|
||||
local target
|
||||
local text
|
||||
|
@ -210,7 +210,7 @@ local text
|
|||
done
|
||||
}
|
||||
|
||||
cd_update_ca () {
|
||||
cd_update_ca_certificates () {
|
||||
cd_step "Update CA"
|
||||
case "${CD_OS_NAME}" in
|
||||
"debian") update-ca-certificates || exit ;;
|
||||
|
|
Loading…
Reference in a new issue