Add check for fc-cache command before installing fonts
This commit is contained in:
parent
2548e17f82
commit
f21f1461c0
1
Makefile
1
Makefile
|
@ -22,6 +22,7 @@ direnv: $(BIN_DIR)
|
||||||
bin_path="$(BIN_DIR)" ./installers/direnv.sh
|
bin_path="$(BIN_DIR)" ./installers/direnv.sh
|
||||||
|
|
||||||
firacode: $(FONTS_DIR)
|
firacode: $(FONTS_DIR)
|
||||||
|
command -v fc-cache > /dev/null || exit 1
|
||||||
./installers/firacode.sh && fc-cache
|
./installers/firacode.sh && fc-cache
|
||||||
|
|
||||||
$(BIN_DIR) $(FONTS_DIR):
|
$(BIN_DIR) $(FONTS_DIR):
|
||||||
|
|
Loading…
Reference in a new issue