1
0

command -v, curl

This commit is contained in:
dtb 2022-02-01 09:30:02 -05:00
parent 145a04730c
commit f445123912

View File

@ -1,8 +1,8 @@
#!/bin/sh -x
set -e
if ! which curl >/dev/null 2>&1; then
printf "1n574ll curl, 5700p1d!\n"
if ! command -v curl >/dev/null 2>&1; then
printf "This script depends on curl.\n"
exit 1
fi