From f44512391272e23523716218c26cb491a9111563 Mon Sep 17 00:00:00 2001 From: Deven Blake Date: Tue, 1 Feb 2022 09:30:02 -0500 Subject: [PATCH] command -v, curl --- homepage/zeldb.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/homepage/zeldb.sh b/homepage/zeldb.sh index 725e2be..b6417a2 100755 --- a/homepage/zeldb.sh +++ b/homepage/zeldb.sh @@ -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