This commit is contained in:
Marc Beninca 2024-05-03 22:01:01 +02:00
parent 7d6f23efe9
commit e2bc6311af
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

11
cd.sh
View file

@ -179,7 +179,16 @@ deb ${CD_OS_REPO}-security ${CD_OS_VERSION}-security main
cd_set_packages_configuration () { cd_set_packages_configuration () {
cd_step "Set packages configuration" cd_step "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_write "/etc/dnf/dnf.conf" "\
[main]
best=True
clean_requirements_on_remove=True
gpgcheck=1
installonly_limit=3
skip_if_unavailable=False
"
;;
"${CD_OS_DEBIAN}") "${CD_OS_DEBIAN}")
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;