parent
7e6fd6db72
commit
8a0922e7ce
1 changed files with 11 additions and 0 deletions
11
cd.sh
11
cd.sh
|
@ -12,6 +12,7 @@ cd_main () {
|
|||
cd_update_packages_catalog
|
||||
cd_install_packages_tools
|
||||
cd_install_ca
|
||||
cd_copy_ca
|
||||
cd_update_ca
|
||||
cd_set_https_verification_on
|
||||
cd_update_packages_catalog
|
||||
|
@ -164,6 +165,16 @@ cd_install_ca () {
|
|||
esac
|
||||
}
|
||||
|
||||
cd_copy_ca () {
|
||||
local target
|
||||
cd_step "Copy CA"
|
||||
case "${CD_OS_NAME}" in
|
||||
"debian") target="/usr/local/share/ca-certificates" ;;
|
||||
*) exit 1 ;;
|
||||
esac
|
||||
# TODO copy
|
||||
}
|
||||
|
||||
cd_update_ca () {
|
||||
cd_step "Update CA"
|
||||
case "${CD_OS_NAME}" in
|
||||
|
|
Loading…
Reference in a new issue