From 1e467616b395d3ddda0369e34bfe169f43192a21 Mon Sep 17 00:00:00 2001 From: Muhammad Atif Ali Date: Tue, 14 Nov 2023 14:45:33 +0300 Subject: [PATCH] fix linux install script --- util/install_linux.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/util/install_linux.sh b/util/install_linux.sh index be4569d1..089243e2 100755 --- a/util/install_linux.sh +++ b/util/install_linux.sh @@ -3,11 +3,14 @@ # remove all fonts from ~/.local/share/fonts that start with "Monaspace" rm -rf ~/.local/share/fonts/Monaspace* +# Create the directory ~/.local/share/fonts if it doesn't exist +mkdir -p ~/.local/share/fonts + # copy all fonts from ./otf to ~/.local/share/fonts -cp ./fonts/otf/* ~/.local/share/fonts +cp ../fonts/otf/* ~/.local/share/fonts # copy variable fonts from ./variable to ~/.local/share/fonts -cp ./fonts/variable/* ~/.local/share/fonts +cp ../fonts/variable/* ~/.local/share/fonts # Build font information caches fc-cache -f