X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/xdg-ninja.git/blobdiff_plain/769447a3dec76e678abd9d094525b56001c34b6e..0c4e99756ec3610f00dfa6d372d72c40eff67ea5:/xdg-ninja.sh diff --git a/xdg-ninja.sh b/xdg-ninja.sh index 40fe630..820c8e9 100755 --- a/xdg-ninja.sh +++ b/xdg-ninja.sh @@ -42,6 +42,12 @@ for i in "$@" ; do fi done +if ! command -v jq &> /dev/null +then + echo "jq is needed to run this script, but it wasn't found. Please install it to be able to use this script." + exit +fi + ERR=0 WARN=1 INFO=2