dnf
This commit is contained in:
parent
7d6f23efe9
commit
e2bc6311af
1 changed files with 10 additions and 1 deletions
11
cd.sh
11
cd.sh
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue