aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2023-08-22 14:06:43 +0300
committerkaotisk <kaotisk@arching-kaos.org>2023-08-22 14:06:43 +0300
commitd41965e4845e6a722bcbc3ebc6e3ed21001f993b (patch)
tree5fb9b9fddec3dc1a563141a8a58e4ff6380a5256
parentca21e17dba116d145e21dce8f96f3d10f987f850 (diff)
downloadarching-kaos-tools-d41965e4845e6a722bcbc3ebc6e3ed21001f993b.tar.gz
arching-kaos-tools-d41965e4845e6a722bcbc3ebc6e3ed21001f993b.tar.bz2
arching-kaos-tools-d41965e4845e6a722bcbc3ebc6e3ed21001f993b.zip
Cleans output from which executions
-rwxr-xr-xinstall.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/install.sh b/install.sh
index bed6e86..5c83654 100755
--- a/install.sh
+++ b/install.sh
@@ -33,13 +33,13 @@ printf "\n"
packageManager=""
checkPkgManager(){
printf "Searching for package manager..."
- which dnf
+ which dnf 2> /dev/null 1>&2
if [ $? == 0 ]
then
printf "\tFound DNF\n"
packageManager="$(which dnf)"
fi
- which apt
+ which apt 2> /dev/null 1>&2
if [ $? == 0 ]
then
printf "\tFound APT\n"
@@ -57,7 +57,7 @@ declare -a depedencies=("curl","wget","bash","jq","node","npm","gpg","git")
for dep in "${depedencies[@]}"
do
printf "Checking for %s..." "$dep"
- which $dep
+ which $dep 2> /dev/null 1>&2
if [ $? -ne 0 ]
then
printf "\t Not found!"