Compare commits

...

2 Commits

Author SHA1 Message Date
nyx
d40b855d45
Merge 90f5ed8238 into 79eb752552 2024-10-08 23:40:02 +01:00
nyx
90f5ed8238
make command_exists interpret multiple values 2024-10-05 02:36:23 -04:00

View File

@ -9,7 +9,10 @@ CYAN='\033[36m'
GREEN='\033[32m' GREEN='\033[32m'
command_exists() { command_exists() {
command -v "$1" >/dev/null 2>&1 for cmd in "$@"; do
command -v "$cmd" >/dev/null 2>&1 || return 1
done
return 0
} }
checkAURHelper() { checkAURHelper() {