Browse Source

use command -v instead of which. The latter is an alias on some envs

master
Max Mehl 1 year ago
parent
commit
a1c55f4574
Signed by: mxmehl GPG Key ID: 2704E4AB371E2E92
  1. 2
      update.sh

2
update.sh

@ -35,7 +35,7 @@ source config.cfg
# Check dependencies
deperrors=''
for depend in curl; do
if ! which "$depend" >/dev/null 2>&1; then
if ! command -v "$depend" >/dev/null 2>&1; then
deperrors="$depend $deperrors"
fi
done

Loading…
Cancel
Save