aboutsummaryrefslogtreecommitdiff
path: root/install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'install.sh')
-rwxr-xr-xinstall.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/install.sh b/install.sh
index 21ed837..b434cef 100755
--- a/install.sh
+++ b/install.sh
@@ -31,6 +31,8 @@ printf "\b\b starting!!!"
sleep 1
printf "\n"
packageManager=""
+installCommand=""
+dontAskFlag=""
checkPkgManager(){
printf "Searching for package manager..."
which dnf 2> /dev/null 1>&2
@@ -38,12 +40,16 @@ checkPkgManager(){
then
printf "\tFound DNF\n"
packageManager="$(which dnf)"
+ installCommand="install"
+ dontAskFlag="-y"
fi
which apt 2> /dev/null 1>&2
if [ $? == 0 ]
then
printf "\tFound APT\n"
packageManager="$(which apt)"
+ installCommand="install"
+ dontAskFlag="-y"
fi
if [ "$packageManager" == "" ]
then