From 7cf79933bffcce36123d3a04f74afb11e94e9660 Mon Sep 17 00:00:00 2001 From: kaotisk Date: Wed, 23 Aug 2023 19:19:59 +0300 Subject: Added support for ArchLinux --- install.sh | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'install.sh') diff --git a/install.sh b/install.sh index fc22bdb..3aed559 100755 --- a/install.sh +++ b/install.sh @@ -51,6 +51,14 @@ checkPkgManager(){ installCommand="install" dontAskFlag="-y" fi + which pacman 2> /dev/null 1>&2 + if [ $? == 0 ] + then + printf "\tFound APT\n" + packageManager="$(which pacman)" + installCommand="-S" + dontAskFlag="--noconfirm" + fi if [ "$packageManager" == "" ] then printf "Could not find package manager\n" -- cgit v1.2.3