From 1e1d12be85f83e1089ca678b22ae76b0eb9d0d19 Mon Sep 17 00:00:00 2001 From: jolzem Date: Mon, 21 Aug 2023 18:17:34 +0200 Subject: [PATCH] fixed dependency check in deply.sh --- deploy.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deploy.sh b/deploy.sh index 1305de4..6a5fbb2 100755 --- a/deploy.sh +++ b/deploy.sh @@ -13,8 +13,8 @@ link() { [ $# -eq 0 ] && help -#command -v git >/dev/null || echo "Install git to run this script" && exit 1 -#command -v curl >/dev/null || echo "Install curl to run this script" && exit 1 +command -v git >/dev/null || (echo "Install git to run this script" && exit 1) +command -v curl >/dev/null || (echo "Install curl to run this script" && exit 1) for option in "$@"; do case $option in