]> glassweightruler.freedombox.rocks Git - xdg-ninja.git/blobdiff - xdg-ninja.sh
Check for presence of jq
[xdg-ninja.git] / xdg-ninja.sh
index 40fe63020e2ff3e99b3d9fca73d1d050d9361fb4..72122aaa47d8f6783d032cb3bc4ff8b91b9dac6a 100755 (executable)
@@ -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."
+    USE_GLOW=false
+fi
+
 ERR=0
 WARN=1
 INFO=2