diff options
author | kaotisk <kaotisk@arching-kaos.org> | 2023-08-22 14:06:43 +0300 |
---|---|---|
committer | kaotisk <kaotisk@arching-kaos.org> | 2023-08-22 14:06:43 +0300 |
commit | d41965e4845e6a722bcbc3ebc6e3ed21001f993b (patch) | |
tree | 5fb9b9fddec3dc1a563141a8a58e4ff6380a5256 /install.sh | |
parent | ca21e17dba116d145e21dce8f96f3d10f987f850 (diff) | |
download | arching-kaos-tools-d41965e4845e6a722bcbc3ebc6e3ed21001f993b.tar.gz arching-kaos-tools-d41965e4845e6a722bcbc3ebc6e3ed21001f993b.tar.bz2 arching-kaos-tools-d41965e4845e6a722bcbc3ebc6e3ed21001f993b.zip |
Cleans output from which executions
Diffstat (limited to 'install.sh')
-rwxr-xr-x | install.sh | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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!" |