diff options
author | kaotisk <kaotisk@arching-kaos.org> | 2023-09-01 10:47:30 +0300 |
---|---|---|
committer | kaotisk <kaotisk@arching-kaos.org> | 2023-09-01 10:47:30 +0300 |
commit | 58dd9788da39d9f77af199fc6bdd68d9a35ddee5 (patch) | |
tree | cdb36631db9b12af7d18a5993ed4a37cb34ebbdf | |
parent | 5390073b9aab92d6dbd601593a116e05fd55ccdb (diff) | |
download | arching-kaos-tools-58dd9788da39d9f77af199fc6bdd68d9a35ddee5.tar.gz arching-kaos-tools-58dd9788da39d9f77af199fc6bdd68d9a35ddee5.tar.bz2 arching-kaos-tools-58dd9788da39d9f77af199fc6bdd68d9a35ddee5.zip |
Added support for zypper package manager
-rwxr-xr-x | install.sh | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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 |