If you tried to setup ceph-backport.sh without having 'jq' installed, you would
get a totally unrelated error message and it was hard to figure out the problem.
Signed-off-by: Tiago Melo <tmelo@suse.com>
fi
+#
+# is jq available?
+#
+
+if command -v jq >/dev/null ; then
+ debug "jq is available. Good."
+else
+ error "This script needs \"jq\" in order to work, and it is not available"
+ abort_due_to_setup_problem
+fi
+
+
#
# process command-line arguments
#