mirror of
https://github.com/thelittlerocket/pve.git
synced 2024-11-10 17:05:07 +08:00
Update ssh.sh
This commit is contained in:
parent
b49d2f11cc
commit
c53755753d
1 changed files with 2 additions and 2 deletions
|
@ -64,13 +64,13 @@ install_required_modules() {
|
|||
do
|
||||
if command -v apt-get > /dev/null 2>&1; then
|
||||
if dpkg -s $module > /dev/null 2>&1 ; then
|
||||
echo "$module 已经安装!"
|
||||
echo "$module has benn installed."
|
||||
else
|
||||
apt-get install -y $module
|
||||
if [ $? -ne 0 ]; then
|
||||
apt-get install -y $module --fix-missing
|
||||
fi
|
||||
echo "$module 已尝试过安装!"
|
||||
echo "$module has been tried and installed!"
|
||||
fi
|
||||
else
|
||||
${PACKAGE_INSTALL[int]} $module
|
||||
|
|
Loading…
Reference in a new issue