From 58c41a708bb6b56709912cef13087f3be5fe0924 Mon Sep 17 00:00:00 2001 From: ilguappo Date: Sat, 19 Jul 2025 18:11:41 -0700 Subject: [PATCH] fix: add dependency check for curl. --- mc | 1 + 1 file changed, 1 insertion(+) diff --git a/mc b/mc index 6bab244..09516da 100755 --- a/mc +++ b/mc @@ -96,6 +96,7 @@ function main() { # remove command from arg list while preserving quoted strings. args=("${args[@]:1}") + if [[ ! $(which curl) ]]; then echo "curl is required"; exit 1; fi if [[ ! $(which jq) ]]; then echo "jq is required"; exit 1; fi for command in "${!commands[@]}"; do