diff --git a/cd.sh b/cd.sh index 17cf7ba..c6c9e61 100644 --- a/cd.sh +++ b/cd.sh @@ -179,7 +179,16 @@ deb ${CD_OS_REPO}-security ${CD_OS_VERSION}-security main cd_set_packages_configuration () { cd_step "Set packages configuration" 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_write "/etc/apt/apt.conf.d/apt.conf" "\ Acquire::Check-Valid-Until True;