diff --git a/scripts/install_pve.sh b/scripts/install_pve.sh index e3e58ed..fb727f1 100644 --- a/scripts/install_pve.sh +++ b/scripts/install_pve.sh @@ -292,7 +292,10 @@ install_required_modules() { _green "$module 已经安装!" else apt-get install -y $module - _green "$module 已成功安装!" + if [ $? -ne 0 ]; then + apt-get install -y $module --fix-missing + fi + _green "$module 已尝试过安装!" fi done }