删除更换语言无效命令
This commit is contained in:
parent
2cec79d034
commit
ea32cccd3b
@ -25,10 +25,8 @@ case "$pick" in
|
|||||||
read -p "请输入:" lang
|
read -p "请输入:" lang
|
||||||
if [[ -f "/usr/bin/apt-get" ]];then
|
if [[ -f "/usr/bin/apt-get" ]];then
|
||||||
sudo apt-get install -y locales
|
sudo apt-get install -y locales
|
||||||
sudo apt-get install -y language-pack-zh-hans
|
|
||||||
elif [[ -f "/usr/bin/apt" ]];then
|
elif [[ -f "/usr/bin/apt" ]];then
|
||||||
sudo apt install -y locales
|
sudo apt install -y locales
|
||||||
sudo apt install -y language-pack-zh-hans
|
|
||||||
else
|
else
|
||||||
echo "暂不支持该系统一键更换语言"
|
echo "暂不支持该系统一键更换语言"
|
||||||
exit
|
exit
|
||||||
|
Loading…
Reference in New Issue
Block a user