]> glassweightruler.freedombox.rocks Git - xdg-ninja.git/blobdiff - xdg-ninja.sh
Add disclaimer about glow
[xdg-ninja.git] / xdg-ninja.sh
index 72122aaa47d8f6783d032cb3bc4ff8b91b9dac6a..ed8b6644fcb725d5c51fdb168d7b427632f32d70 100755 (executable)
@@ -4,6 +4,8 @@ USE_GLOW=true
 if ! command -v glow &> /dev/null
 then
     echo "Glow not found, markdown rendering not available."
+    echo "Output will be raw markdown and might look weird."
+    echo "Install glow for easier reading & copy-paste."
     USE_GLOW=false
 fi
 
@@ -45,7 +47,7 @@ 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
+    exit
 fi
 
 ERR=0