Add check for fc-cache command before installing fonts

This commit is contained in:
Evie Litherland-Smith 2023-05-16 13:18:07 +01:00
parent 2548e17f82
commit f21f1461c0

View file

@ -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):