Browse code

contrib: download-frozen-image-v2.sh requires jq

Signed-off-by: Antonio Murdaca <runcom@redhat.com>

Antonio Murdaca authored on 2016/12/01 20:40:58
Showing 1 changed files
... ...
@@ -11,6 +11,10 @@ if ! command -v curl &> /dev/null; then
11 11
 	echo >&2 'error: "curl" not found!'
12 12
 	exit 1
13 13
 fi
14
+if ! command -v jq &> /dev/null; then
15
+	echo >&2 'error: "jq" not found!'
16
+	exit 1
17
+fi
14 18
 
15 19
 usage() {
16 20
 	echo "usage: $0 dir image[:tag][@digest] ..."