Compare commits

...

2 commits

Author SHA1 Message Date
e4cd7b186f
−bookworm
Some checks failed
/ job (push) Failing after 5s
2024-04-29 17:57:06 +02:00
571c436961
ca_package 2024-04-29 17:53:51 +02:00

11
cd.sh
View file

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