From a1c151ec0bfe19d6216587f4348b8c7ddced45e8 Mon Sep 17 00:00:00 2001 From: lsy Date: Sun, 22 Sep 2024 21:52:58 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=9B=B4=E6=96=B0=E8=BD=AF?= =?UTF-8?q?=E4=BB=B6=E5=8C=85=E6=97=B6=E8=87=AA=E5=8A=A8=E6=9B=B4=E6=96=B0?= =?UTF-8?q?=E8=BD=AF=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Menus/Other.sh | 2 -- Menus/Software.sh | 2 -- 2 files changed, 4 deletions(-) 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