Update 'SimpleInstall.sh'
This commit is contained in:
@@ -32,8 +32,6 @@ elif [[ "${dist}" == *"ubuntu"* ]] && [[ "${dist_ver}" == *"20.04"* ]]; then
|
||||
PKGM="$APTMODE"
|
||||
PKGI="${PKGM} install -y --no-install-recommends"
|
||||
PKGLIST="apt"
|
||||
echo "This os in not supported"
|
||||
exit
|
||||
shortdist=ubu2004
|
||||
elif [[ "${dist}" == *"debian"* ]] && [[ "${dist_ver}" == *"10"* ]]; then
|
||||
echo "Debian 10 Detected"
|
||||
@@ -41,16 +39,12 @@ elif [[ "${dist}" == *"debian"* ]] && [[ "${dist_ver}" == *"10"* ]]; then
|
||||
PKGI="${PKGM} install -y --no-install-recommends"
|
||||
PKGLIST="apt"
|
||||
shortdist=deb10
|
||||
echo "This os in not supported"
|
||||
exit
|
||||
elif [[ "${dist}" == *"centos"* ]] && [[ "${dist_ver}" == *"8"* ]]; then
|
||||
echo "Centos 8 Detected"
|
||||
PKGM="dnf"
|
||||
PKGI="${PKGM} install --setopt=install_weak_deps=False --best -y"
|
||||
PKGLIST="dnf"
|
||||
shortdist=cent8
|
||||
echo "This os in not supported"
|
||||
exit
|
||||
else
|
||||
echo "This os in not supported"
|
||||
exit
|
||||
@@ -65,7 +59,6 @@ branch=<branchname>
|
||||
branchtype=branch
|
||||
|
||||
#SelfBuilding Vars
|
||||
PKGI="${PKGM} install -y"
|
||||
mtype=""$repo"/raw/"$branchtype"/"$branch""
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user