Fixed: incorect config path centos,

rm pkglist on inst
This commit is contained in:
2020-12-02 13:00:27 +01:00
parent f6772582e0
commit 0f6593b11b
2 changed files with 3 additions and 2 deletions

View File

@@ -39,5 +39,5 @@ if [ "$shortdist" = "ubu1804" ] || [ "$shortdist" = "ubu2004" ] || [ "$shortdist
curl --retry 7 --retry-delay 5 -s "$mrepo"/raw/branch/"$mbranch"/config/apt/"$LinVer"_50unattended-upgrades -o /etc/apt/apt.conf.d/50unattended-upgrades > $OUTPUT 2>&1
elif [ "$shortdist" = "cent8" ]; then
##Fetching Confgs
curl --retry 7 --retry-delay 5 -s "$mrepo"/raw/branch/"$mbranch"/config/dnf/Cent8_automatic.conf -o /etc/apt/apt.conf.d/50unattended-upgrades > $OUTPUT 2>&1
curl --retry 7 --retry-delay 5 -s "$mrepo"/raw/branch/"$mbranch"/config/dnf/Cent8_automatic.conf -o /etc/dnf/automatic.conf > $OUTPUT 2>&1
fi

View File

@@ -94,7 +94,8 @@ fi
##--------------------##
msg " Preconfiguring"
$PKGM update
rm -f /tmp/pkg.list
$PKGM update -y
$PKGM upgrade -y