aboutsummaryrefslogtreecommitdiff
path: root/install.sh
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2023-09-01 10:47:30 +0300
committerkaotisk <kaotisk@arching-kaos.org>2023-09-01 10:47:30 +0300
commit58dd9788da39d9f77af199fc6bdd68d9a35ddee5 (patch)
treecdb36631db9b12af7d18a5993ed4a37cb34ebbdf /install.sh
parent5390073b9aab92d6dbd601593a116e05fd55ccdb (diff)
downloadarching-kaos-tools-58dd9788da39d9f77af199fc6bdd68d9a35ddee5.tar.gz
arching-kaos-tools-58dd9788da39d9f77af199fc6bdd68d9a35ddee5.tar.bz2
arching-kaos-tools-58dd9788da39d9f77af199fc6bdd68d9a35ddee5.zip
Added support for zypper package manager
Diffstat (limited to 'install.sh')
-rwxr-xr-xinstall.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/install.sh b/install.sh
index 3aed559..1875484 100755
--- a/install.sh
+++ b/install.sh
@@ -51,6 +51,14 @@ checkPkgManager(){
installCommand="install"
dontAskFlag="-y"
fi
+ which zypper 2> /dev/null 1>&2
+ if [ $? == 0 ]
+ then
+ printf "\tFound ZYPPER\n"
+ packageManager="$(which zypper)"
+ installCommand="install"
+ dontAskFlag="-y"
+ fi
which pacman 2> /dev/null 1>&2
if [ $? == 0 ]
then