diff --git a/Menus/Other.sh b/Menus/Other.sh index cfc168c..fd97b7c 100644 --- a/Menus/Other.sh +++ b/Menus/Other.sh @@ -25,12 +25,10 @@ case "$pick" in read -p "请输入:" lang if [[ -f "/usr/bin/apt-get" ]];then sudo apt-get update -y - sudo apt-get dist-upgrade -y sudo apt-get install -y locales sudo apt-get install -y language-pack-zh-hans elif [[ -f "/usr/bin/apt" ]];then sudo apt update -y - sudo apt dist-upgrade -y sudo apt install -y locales sudo apt install -y language-pack-zh-hans else diff --git a/Menus/Software.sh b/Menus/Software.sh index 9e3c04a..1760648 100644 --- a/Menus/Software.sh +++ b/Menus/Software.sh @@ -8,12 +8,10 @@ if [[ -f "/usr/bin/apt-get" ]];then pkg='apt-get' install_str+="${pkg} install -y" sudo apt-get update -y - sudo apt-get dist-upgrade -y elif [[ -f "/usr/bin/apt" ]];then pkg='apt' install_str+="${pkg} install -y" sudo apt update -y - sudo apt dist-upgrade -y else echo "暂不支持该系统一键安装常用软件" exit