From 887bc48319a650174e3820c677e337969e2d3aca Mon Sep 17 00:00:00 2001 From: Antonio Murdaca Date: Thu, 1 Dec 2016 12:40:58 +0100 Subject: [PATCH] contrib: download-frozen-image-v2.sh requires jq Signed-off-by: Antonio Murdaca --- contrib/download-frozen-image-v2.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/contrib/download-frozen-image-v2.sh b/contrib/download-frozen-image-v2.sh index 111e3fa2ba..d3c88c17d1 100755 --- a/contrib/download-frozen-image-v2.sh +++ b/contrib/download-frozen-image-v2.sh @@ -11,6 +11,10 @@ if ! command -v curl &> /dev/null; then echo >&2 'error: "curl" not found!' exit 1 fi +if ! command -v jq &> /dev/null; then + echo >&2 'error: "jq" not found!' + exit 1 +fi usage() { echo "usage: $0 dir image[:tag][@digest] ..."