From ae4badf11c77cd0ee02955acf7e63aa2cbe88f22 Mon Sep 17 00:00:00 2001 From: Bram Prieshof Date: Wed, 9 Dec 2020 13:30:28 +0100 Subject: [PATCH] Replaced cent8 with el8 for beter support --- conf.sh | 6 +++--- installer.sh | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/conf.sh b/conf.sh index a066c90..c88a71d 100644 --- a/conf.sh +++ b/conf.sh @@ -17,7 +17,7 @@ if [ -z ${shortdist+x} ]; then shortdist=deb10 echo set elif [[ "${dist}" == *"centos"* ]] && [[ "${dist_ver}" == *"8"* ]]; then - shortdist=cent8 + shortdist=el8 echo set else echo "This os in not supported" @@ -37,7 +37,7 @@ if [ "$shortdist" = "ubu1804" ] || [ "$shortdist" = "ubu2004" ] || [ "$shortdist ##Fetching Confgs curl --retry 7 --retry-delay 5 -s "$mrepo"/raw/branch/"$mbranch"/config/apt/Universal_20auto-upgrades -o /etc/apt/apt.conf.d/20auto-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" = "el8" ]; then ##Fetching Confgs - curl --retry 7 --retry-delay 5 -s "$mrepo"/raw/branch/"$mbranch"/config/dnf/Cent8_automatic.conf -o /etc/dnf/automatic.conf > $OUTPUT 2>&1 + curl --retry 7 --retry-delay 5 -s "$mrepo"/raw/branch/"$mbranch"/config/dnf/el8_automatic.conf -o /etc/dnf/automatic.conf > $OUTPUT 2>&1 fi \ No newline at end of file diff --git a/installer.sh b/installer.sh index e3c84a3..2760ecf 100644 --- a/installer.sh +++ b/installer.sh @@ -41,7 +41,7 @@ elif [[ "${dist}" == *"centos"* ]] && [[ "${dist_ver}" == *"8"* ]]; then PKGM="dnf" PKGI="${PKGM} install --setopt=install_weak_deps=False --best -y" PKGLIST="dnf" - shortdist=cent8 + shortdist=el8 else echo "This OS is not supported" exit