copy_ca
Some checks failed
/ job (push) Failing after 6s

This commit is contained in:
Marc Beninca 2024-04-28 00:12:11 +02:00
parent 7e6fd6db72
commit 8a0922e7ce
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

11
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_copy_ca
cd_update_ca cd_update_ca
cd_set_https_verification_on cd_set_https_verification_on
cd_update_packages_catalog cd_update_packages_catalog
@ -164,6 +165,16 @@ cd_install_ca () {
esac 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_update_ca () {
cd_step "Update CA" cd_step "Update CA"
case "${CD_OS_NAME}" in case "${CD_OS_NAME}" in