删除更换语言无效命令

This commit is contained in:
lsy 2024-07-27 15:16:46 +08:00
parent 2cec79d034
commit ea32cccd3b

View File

@ -25,10 +25,8 @@ case "$pick" in
read -p "请输入:" lang
if [[ -f "/usr/bin/apt-get" ]];then
sudo apt-get install -y locales
sudo apt-get install -y language-pack-zh-hans
elif [[ -f "/usr/bin/apt" ]];then
sudo apt install -y locales
sudo apt install -y language-pack-zh-hans
else
echo "暂不支持该系统一键更换语言"
exit