From be7c6afe3fa27e52af576516b1744f4249745fd2 Mon Sep 17 00:00:00 2001 From: Andrew Coleman Date: Tue, 1 Jan 2019 23:10:28 +0000 Subject: [PATCH] check for fc-cache before updating font cache --- bin/install-dotfiles.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/install-dotfiles.sh b/bin/install-dotfiles.sh index 44cba69..a0e97a1 100755 --- a/bin/install-dotfiles.sh +++ b/bin/install-dotfiles.sh @@ -17,4 +17,4 @@ config config status.showUntrackedFiles no config push --set-upstream origin master config submodule init config submodule update -fc-cache -f -v ~/.fonts +which fc-cache && fc-cache -f -v ~/.fonts || true