From ab1c0484cb4808f9c8fbf3f2be5272d13a7e9309 Mon Sep 17 00:00:00 2001 From: Mike McCready <66998419+MikeMcC399@users.noreply.github.com> Date: Fri, 7 Aug 2026 11:20:18 +0200 Subject: [PATCH] chore: add check for jq to update.sh script --- update.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/update.sh b/update.sh index e41089ec5..582702c53 100755 --- a/update.sh +++ b/update.sh @@ -43,6 +43,12 @@ while getopts "sh" opt; do esac done +if ! command -v jq > /dev/null; then + echo "**jq not installed**" >&2 + echo "Follow the instructions in https://jqlang.org/download/ to install" >&2 + exit 1 +fi + . functions.sh cd "$(cd "${0%/*}" && pwd -P)"