update install.sh

This commit is contained in:
chxuan 2019-10-23 21:29:15 +08:00
parent ac6144e73d
commit 307d4a2fbb

View File

@ -215,7 +215,7 @@ function install_to_user_on_linux()
mkdir -p $desc_home_path".local/share/fonts/"
rm -rf $desc_home_path".local/share/fonts/Droid Sans Mono Nerd Font Complete.otf"
cp $desc_vimplus_path"fonts/Droid Sans Mono Nerd Font Complete.otf" $desc_home_path".local/share/fonts/"
chown -R $desc_username":"$desc_username $desc_home_path".local/share/fonts/"
chown -R $desc_username":"$desc_username $desc_home_path".local/"
fc-cache -vf $desc_home_path".local/share/fonts/"
}