From 359f545ed0a04b1f21471b41ee1f6c130f049d4c Mon Sep 17 00:00:00 2001 From: Klesh Wong Date: Thu, 1 Oct 2020 13:41:32 +0800 Subject: [PATCH] [bugfix] fix /usr/local/share/fonts permission denied error --- gui/install.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/gui/install.sh b/gui/install.sh index 5e16fd9..5eb6548 100755 --- a/gui/install.sh +++ b/gui/install.sh @@ -72,6 +72,7 @@ install-nerdfont () { https://gitee.com/klesh/nerd-fonts.git \ $LOCAL_REPO_PATH sudo 7z x -x!'*Windows*' -aoa $LOCAL_REPO_PATH/$NAME -o/usr/local/share/fonts + sudo chmod +x /usr/local/share/fonts echo $LOCAL_REPO_PATH rm -rf $LOCAL_REPO_PATH }