added jq binary check

This commit is contained in:
mag37 2024-11-19 21:05:11 +01:00
parent 417359f2de
commit cba53def9a

View file

@ -198,6 +198,12 @@ else
exit 1
fi
# Check for jq binary
if [[ ! $(command -v jq) ]] ; then
printf "%s\n" "No jq binary, please install jq and try again, exiting."
exit 1
fi
# Numbered List function
options() {
num=1