ca_package

This commit is contained in:
Marc Beninca 2024-04-29 17:53:51 +02:00
parent 4bff4f687c
commit 571c436961
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

7
cd.sh
View file

@ -35,6 +35,7 @@ cd_main () {
cd_set_environment () {
cd_step "Set environment"
#
CD_CA_PACKAGE="ca-certificates"
CD_DNS_FILE="/etc/resolv.conf"
CD_GIT_PACKAGE="git"
CD_PYTHON_COMMAND="python3"
@ -185,11 +186,7 @@ cd_install_packages_tools () {
cd_install_ca () {
cd_step "Install CA"
case "${CD_OS_NAME}" in
"debian") cd_install_package "ca-certificates" ;;
"alma") echo "TODO" ;;
*) cd_error_os "cd_install_ca" ;;
esac
cd_install_package "${CD_CA_PACKAGE}"
}
cd_copy_ca () {