From 53c72c3bf3091906ea0e380954e963619f437f90 Mon Sep 17 00:00:00 2001 From: Jeffrey Serio Date: Tue, 8 Oct 2024 02:48:40 -0500 Subject: [PATCH] Add jq dep check --- nerdfont_installer | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/nerdfont_installer b/nerdfont_installer index b52102e..1241a8d 100755 --- a/nerdfont_installer +++ b/nerdfont_installer @@ -37,6 +37,11 @@ if ! test -x "$(command -v unzip)"; then exit 1 fi +if ! test -x "$(command -v jq)"; then + echo "Missing dependencies: jq" + exit 1 +fi + # Directory on the local filesystem where the fonts will be installed. LOCAL_FONT_DIR="${HOME}/.local/share/fonts"