From 86c18a70937cc38adf833f458564d3b84e6a73a2 Mon Sep 17 00:00:00 2001 From: TrudeEH Date: Thu, 12 Jun 2025 16:48:29 +0100 Subject: [PATCH] Reload font optimization --- install.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index d22b638e..a4e939d6 100755 --- a/install.sh +++ b/install.sh @@ -176,7 +176,9 @@ cp -r "$HOME/dotfiles/scripts/." "$HOME/.local/bin/" echo "${YELLOW}Installing fonts...${NC}" mkdir -p "$HOME/.local/share/fonts" cp -rf "$HOME/dotfiles/fonts/"* "$HOME/.local/share/fonts/" -fc-cache -fv "$HOME/.local/share/fonts" >"$HOME/dotfiles/logs/font_install.log" +if [ ! -f "$HOME/dotfiles/logs/font_install.log" ]; then + fc-cache -fv "$HOME/.local/share/fonts" >"$HOME/dotfiles/logs/font_install.log" +fi # UFW Firewall if [ "$reload" = false ]; then