[bugfix] fix /usr/local/share/fonts permission denied error

This commit is contained in:
Klesh Wong 2020-10-01 13:41:32 +08:00
parent 6c614150fa
commit 359f545ed0

View File

@ -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
}