更新,换语言命令
This commit is contained in:
parent
551816de35
commit
343975da5f
@ -32,6 +32,9 @@ case "$pick" in
|
|||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
sudo sed -i '/^#/! s/^/# /' /etc/locale.gen
|
sudo sed -i '/^#/! s/^/# /' /etc/locale.gen
|
||||||
|
if ! grep LC_ALL /etc/default/locale &> /dev/null; then
|
||||||
|
echo "LC_ALL=en_US.UTF-8" >> /etc/default/locale
|
||||||
|
fi
|
||||||
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