From c5789b65ef5e798cd262a05059635067f1af6dca Mon Sep 17 00:00:00 2001 From: spiritlhl <103393591+spiritLHLS@users.noreply.github.com> Date: Fri, 30 Jun 2023 08:50:41 +0000 Subject: [PATCH] update --- scripts/install_pve.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/install_pve.sh b/scripts/install_pve.sh index 7ab930b..94c9226 100644 --- a/scripts/install_pve.sh +++ b/scripts/install_pve.sh @@ -64,6 +64,10 @@ install_package() { exit 1 fi apt-get install -y $package_name --fix-missing + else + _green "$package_name tried to install but failed, exited the program" + _green "$package_name 已尝试安装但失败,退出程序" + exit 1 fi fi _green "$package_name tried to install"