Browse Source

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

master
Max Mehl 2 months ago
parent
commit
a1c55f4574
Signed by: mxmehl GPG Key ID: 2704E4AB371E2E92
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      update.sh

+ 1
- 1
update.sh View File

@@ -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