From 0d055294613411af571742856d989ddbf287febe Mon Sep 17 00:00:00 2001 From: Prajjwol Gautam Date: Mon, 26 Jul 2021 23:16:16 -0700 Subject: [PATCH] build: check if `jq` installed in init.sh (#365) --- init.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/init.sh b/init.sh index d9f6bfd4..733d0554 100755 --- a/init.sh +++ b/init.sh @@ -9,6 +9,8 @@ LOGLEVEL="info" #TRACE="--trace" TRACE="" +# validate dependencies are installed +command -v jq > /dev/null 2>&1 || { echo >&2 "jq not installed. More info: https://stedolan.github.io/jq/download/"; exit 1; } # remove existing daemon and client rm -rf ~/.ethermintd*