diff --git a/cd.sh b/cd.sh index 0852a55..17cf7ba 100644 --- a/cd.sh +++ b/cd.sh @@ -77,6 +77,8 @@ cd_set_environment_variables () { CD_PYTHON_PACKAGES="/usr/lib64/python3.11/site-packages" ;; "${CD_OS_DEBIAN}") + export DEBIAN_FRONTEND="noninteractive" + # CD_OS_REPO="${CD_DEFAULT_REPO_DEBIAN}" [ "${CD_REPO_DEBIAN}" ] && CD_OS_REPO="${CD_REPO_DEBIAN}" case "${CD_OS_VERSION}" in @@ -179,7 +181,6 @@ cd_set_packages_configuration () { case "${CD_OS_ID}" in "${CD_OS_ALMA}") cd_mkdir "/etc/dnf/dnf.conf.d" ;; "${CD_OS_DEBIAN}") - export DEBIAN_FRONTEND="noninteractive" cd_write "/etc/apt/apt.conf.d/apt.conf" "\ Acquire::Check-Valid-Until True; APT::Get::Show-Versions True;