From f308acf7414784955537875b6746f8ab36319435 Mon Sep 17 00:00:00 2001 From: Carl Kittelberger Date: Tue, 20 Feb 2018 11:35:15 +0100 Subject: [PATCH] Only run fc-cache if available after installation. --- install.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 8393a50..5116503 100755 --- a/install.sh +++ b/install.sh @@ -50,4 +50,6 @@ install_files() { install_files "${HOME}" home install_files "/etc" etc -fc-cache +if command -v fc-cache >/dev/null 2>&1; then + fc-cache +fi