From 58dd9788da39d9f77af199fc6bdd68d9a35ddee5 Mon Sep 17 00:00:00 2001 From: kaotisk Date: Fri, 1 Sep 2023 10:47:30 +0300 Subject: Added support for zypper package manager --- install.sh | 8 ++++++++ 1 file changed, 8 insertions(+) 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 -- cgit v1.2.3