[bugfix] fix /usr/local/share/fonts permission denied error
This commit is contained in:
parent
6c614150fa
commit
359f545ed0
|
@ -72,6 +72,7 @@ install-nerdfont () {
|
||||||
https://gitee.com/klesh/nerd-fonts.git \
|
https://gitee.com/klesh/nerd-fonts.git \
|
||||||
$LOCAL_REPO_PATH
|
$LOCAL_REPO_PATH
|
||||||
sudo 7z x -x!'*Windows*' -aoa $LOCAL_REPO_PATH/$NAME -o/usr/local/share/fonts
|
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
|
echo $LOCAL_REPO_PATH
|
||||||
rm -rf $LOCAL_REPO_PATH
|
rm -rf $LOCAL_REPO_PATH
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user