From 7d6f23efe9e564212168dddf5743e64f314c780a Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Fri, 3 May 2024 21:56:30 +0200 Subject: [PATCH] debian/frontend --- cd.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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;