diff options
author | kaotisk <kaotisk@arching-kaos.org> | 2023-09-01 10:48:52 +0300 |
---|---|---|
committer | kaotisk <kaotisk@arching-kaos.org> | 2023-09-01 10:48:52 +0300 |
commit | 4d704573c7fb9e3ffebf4b9495cd1dd850c7e8f0 (patch) | |
tree | 7480659fcc318a5108449ccd840cbde346d1d42c | |
parent | ea857d594dc7a446d6edf86e37ce2085dbbcc693 (diff) | |
download | arching-kaos-tools-4d704573c7fb9e3ffebf4b9495cd1dd850c7e8f0.tar.gz arching-kaos-tools-4d704573c7fb9e3ffebf4b9495cd1dd850c7e8f0.tar.bz2 arching-kaos-tools-4d704573c7fb9e3ffebf4b9495cd1dd850c7e8f0.zip |
Added support for apk package manager
-rwxr-xr-x | install.sh | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -67,6 +67,14 @@ checkPkgManager(){ installCommand="-S" dontAskFlag="--noconfirm" fi + which apk 2> /dev/null 1>&2 + if [ $? == 0 ] + then + printf "\tFound APK\n" + packageManager="$(which apk)" + installCommand="add" + dontAskFlag="-q" + fi if [ "$packageManager" == "" ] then printf "Could not find package manager\n" |