parent
323b8f6ba3
commit
7e6fd6db72
1 changed files with 9 additions and 0 deletions
9
cd.sh
9
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
|
||||
|
|
Loading…
Reference in a new issue