Fixed: incorect config path centos,
rm pkglist on inst
This commit is contained in:
2
conf.sh
2
conf.sh
@@ -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
|
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
|
elif [ "$shortdist" = "cent8" ]; then
|
||||||
##Fetching Confgs
|
##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
|
fi
|
||||||
@@ -94,7 +94,8 @@ fi
|
|||||||
##--------------------##
|
##--------------------##
|
||||||
|
|
||||||
msg " Preconfiguring"
|
msg " Preconfiguring"
|
||||||
$PKGM update
|
rm -f /tmp/pkg.list
|
||||||
|
$PKGM update -y
|
||||||
$PKGM upgrade -y
|
$PKGM upgrade -y
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user