diff options
-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" |