更新,换语言命令

This commit is contained in:
lsy 2024-07-27 15:55:41 +08:00
parent 343975da5f
commit ff7d4ebb11

View File

@ -25,8 +25,10 @@ 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