debian/frontend
This commit is contained in:
parent
98ecacd8c8
commit
7d6f23efe9
1 changed files with 2 additions and 1 deletions
3
cd.sh
3
cd.sh
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue