From 24de264de10fcd8af3ac241a505cfdf89e378b5d Mon Sep 17 00:00:00 2001 From: lsy Date: Tue, 10 Sep 2024 20:33:43 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=89=E8=A3=85=E8=BD=AF=E4=BB=B6=E4=B9=8B?= =?UTF-8?q?=E5=89=8D=E5=85=88=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Menus/Software.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Menus/Software.sh b/Menus/Software.sh index 99fba00..a7ed966 100644 --- a/Menus/Software.sh +++ b/Menus/Software.sh @@ -5,8 +5,10 @@ declare install_str declare pkg if [[ -f "/usr/bin/apt-get" ]];then pkg='apt-get' + sudo apt-get update elif [[ -f "/usr/bin/apt" ]];then pkg='apt' + sudo apt dist-upgrade else echo "暂不支持该系统一键安装常用软件" exit