更新,换语言命令
This commit is contained in:
parent
ea32cccd3b
commit
551816de35
@ -31,6 +31,7 @@ case "$pick" in
|
|||||||
echo "暂不支持该系统一键更换语言"
|
echo "暂不支持该系统一键更换语言"
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
sudo sed -i '/^#/! s/^/# /' /etc/locale.gen
|
||||||
case $lang in
|
case $lang in
|
||||||
'1')
|
'1')
|
||||||
sudo sed -i 's/.*zh_CN.UTF-8.*/zh_CN.UTF-8 UTF-8/g' /etc/locale.gen
|
sudo sed -i 's/.*zh_CN.UTF-8.*/zh_CN.UTF-8 UTF-8/g' /etc/locale.gen
|
||||||
|
Loading…
Reference in New Issue
Block a user