aboutsummaryrefslogtreecommitdiff
path: root/install.sh
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2023-08-23 19:16:18 +0300
committerkaotisk <kaotisk@arching-kaos.org>2023-08-23 19:16:18 +0300
commita43a28abb7457a3166c8b18fe94245e629e6acc7 (patch)
tree8a81b7bcf145395881609daa6ad1f608c1ae0e2f /install.sh
parenta4b0e5d5cb75ff4af2054ed8df28bb10fe92e16a (diff)
downloadarching-kaos-tools-a43a28abb7457a3166c8b18fe94245e629e6acc7.tar.gz
arching-kaos-tools-a43a28abb7457a3166c8b18fe94245e629e6acc7.tar.bz2
arching-kaos-tools-a43a28abb7457a3166c8b18fe94245e629e6acc7.zip
Applying work of two previous commits
Diffstat (limited to 'install.sh')
-rwxr-xr-xinstall.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/install.sh b/install.sh
index 6255de0..0d1da4d 100755
--- a/install.sh
+++ b/install.sh
@@ -83,7 +83,7 @@ do
then
dep="nodejs"
fi
- sudo $packageManager install -y $dep 1> /dev/null 2>&1
+ $sudoBin $packageManager $installCommand $dontAskFlag $dep 1> /dev/null 2>&1
if [ $? -ne 0 ]
then
printf "\t Failed to install!\n"
@@ -106,7 +106,7 @@ then
which gpg
if [ $? == 0 ]
then
- sudo ln -s /usr/bin/gpg /usr/bin/gpg2
+ $sudoBin ln -s /usr/bin/gpg /usr/bin/gpg2
fi
fi