Compare commits
No commits in common. "e4cd7b186f75ce52d68135d37225b781ff960013" and "4bff4f687c3430379ee7af6fa16dbea18e391316" have entirely different histories.
e4cd7b186f
...
4bff4f687c
1 changed files with 9 additions and 2 deletions
11
cd.sh
11
cd.sh
|
@ -35,7 +35,6 @@ 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"
|
||||
|
@ -44,6 +43,10 @@ cd_set_environment () {
|
|||
"debian")
|
||||
CD_PYTHON_PACKAGE="python3"
|
||||
CD_PYTHON_PACKAGES="/usr/lib/python3/dist-packages"
|
||||
case "${CD_OS_VERSION}" in
|
||||
"bookworm") echo "TODO" ;;
|
||||
*) cd_error_os "CD_OS_VERSION" ;;
|
||||
esac
|
||||
;;
|
||||
"alma")
|
||||
case "${CD_OS_VERSION}" in
|
||||
|
@ -182,7 +185,11 @@ cd_install_packages_tools () {
|
|||
|
||||
cd_install_ca () {
|
||||
cd_step "Install CA"
|
||||
cd_install_package "${CD_CA_PACKAGE}"
|
||||
case "${CD_OS_NAME}" in
|
||||
"debian") cd_install_package "ca-certificates" ;;
|
||||
"alma") echo "TODO" ;;
|
||||
*) cd_error_os "cd_install_ca" ;;
|
||||
esac
|
||||
}
|
||||
|
||||
cd_copy_ca () {
|
||||
|
|
Loading…
Reference in a new issue