debian/frontend

This commit is contained in:
Marc Beninca 2024-05-03 21:56:30 +02:00
parent 98ecacd8c8
commit 7d6f23efe9
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

3
cd.sh
View file

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