build: check if jq installed in init.sh (#365)

This commit is contained in:
Prajjwol Gautam
2021-07-27 02:16:16 -04:00
committed by GitHub
parent e838bfe66e
commit 0d05529461
+2
View File
@@ -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*