diff --git a/common/xbps-src/shutils/update_check.sh b/common/xbps-src/shutils/update_check.sh index 77f72eca3ca..1d78e415f02 100644 --- a/common/xbps-src/shutils/update_check.sh +++ b/common/xbps-src/shutils/update_check.sh @@ -3,7 +3,7 @@ update_check() { local i p url rx found_version consider - if ! command -v curl &>/dev/null; then + if ! type curl >/dev/null 2>&1; then echo "ERROR: cannot find \`curl' executable!" return 1 fi