diff --git a/cd.sh b/cd.sh index 262dbe9..48d8b37 100644 --- a/cd.sh +++ b/cd.sh @@ -34,26 +34,30 @@ cd_main () { cd_set_environment () { cd_step "Set environment" + # CD_DNS_FILE="/etc/resolv.conf" CD_GIT_PACKAGE="git" + CD_PYTHON_COMMAND="python3" # case "${CD_OS_NAME}" in "debian") - CD_PYTHON_COMMAND="python3" 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=" ;; + *) cd_error_os "CD_OS_VERSION" ;; esac ;; "alma") case "${CD_OS_VERSION}" in - "8") CD_PYTHON_PACKAGE="python3.11" ;; - *) cd_error_os "CD_OS_VERSION=" ;; + "8") + CD_PYTHON_PACKAGE="python3.11" + CD_PYTHON_PACKAGES="/usr/lib64/python3.11/site-packages" + ;; + *) cd_error_os "CD_OS_VERSION" ;; esac ;; - *) cd_error_os "CD_OS_NAME=" ;; + *) cd_error_os "CD_OS_NAME" ;; esac # ci / github if [ "${GITHUB_ACTIONS}" ] ; then