mirror of
https://github.com/thelittlerocket/pve.git
synced 2024-11-15 19:44:38 +08:00
Update install_pve.sh
This commit is contained in:
parent
a5448db6c6
commit
cf8c891f2d
1 changed files with 4 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue