aboutsummaryrefslogtreecommitdiff
path: root/install.sh
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2023-08-23 19:19:59 +0300
committerkaotisk <kaotisk@arching-kaos.org>2023-08-23 19:19:59 +0300
commit7cf79933bffcce36123d3a04f74afb11e94e9660 (patch)
tree4583ebffdaa8b9e9b2142cf1b1448e1abd4a72e9 /install.sh
parent1f517b6b25a5a1a5859f693015a2ce86df1f4b6f (diff)
downloadarching-kaos-tools-7cf79933bffcce36123d3a04f74afb11e94e9660.tar.gz
arching-kaos-tools-7cf79933bffcce36123d3a04f74afb11e94e9660.tar.bz2
arching-kaos-tools-7cf79933bffcce36123d3a04f74afb11e94e9660.zip
Added support for ArchLinux
Diffstat (limited to 'install.sh')
-rwxr-xr-xinstall.sh8
1 files changed, 8 insertions, 0 deletions
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"