From f21f1461c0cc785bdf23d1316604dd1bfeb26a0d Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Tue, 16 May 2023 13:18:07 +0100 Subject: [PATCH] Add check for fc-cache command before installing fonts --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index f17bd68..26f1956 100644 --- a/Makefile +++ b/Makefile @@ -22,6 +22,7 @@ direnv: $(BIN_DIR) bin_path="$(BIN_DIR)" ./installers/direnv.sh firacode: $(FONTS_DIR) + command -v fc-cache > /dev/null || exit 1 ./installers/firacode.sh && fc-cache $(BIN_DIR) $(FONTS_DIR):