fix-linux-cjk.sh
· 319 B · Bash
Brut
set -e
echo "Fixing CJK fonts..."
sudo wget https://gitlab.aiursoft.cn/anduin/anduinos/-/raw/master/Config/fonts.conf -O /etc/fonts/local.conf
wget -P /tmp https://gitlab.aiursoft.cn/anduin/anduinos/-/raw/master/Assets/fonts.zip
sudo unzip -o /tmp/fonts.zip -d /usr/share/fonts/
rm -f /tmp/fonts.zip
sudo fc-cache -fv
1 | set -e |
2 | |
3 | echo "Fixing CJK fonts..." |
4 | sudo wget https://gitlab.aiursoft.cn/anduin/anduinos/-/raw/master/Config/fonts.conf -O /etc/fonts/local.conf |
5 | wget -P /tmp https://gitlab.aiursoft.cn/anduin/anduinos/-/raw/master/Assets/fonts.zip |
6 | sudo unzip -o /tmp/fonts.zip -d /usr/share/fonts/ |
7 | rm -f /tmp/fonts.zip |
8 | sudo fc-cache -fv |
9 |