mirror of
https://github.com/thelittlerocket/pve.git
synced 2025-02-01 02:29:01 +08:00
Update install_pve.sh
This commit is contained in:
parent
593d53b99c
commit
a6bba7ed8f
1 changed files with 2 additions and 1 deletions
|
@ -509,6 +509,8 @@ rm "$temp_file_apt_fix"
|
|||
apt-get update -y
|
||||
if [ $? -ne 0 ]; then
|
||||
change_debian_apt_sources
|
||||
systemctl daemon-reload
|
||||
apt-get update -y
|
||||
fi
|
||||
# 检测路径
|
||||
target_paths="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
|
||||
|
@ -522,7 +524,6 @@ if [ ! -d /usr/local/bin ]; then
|
|||
# 如果目录不存在,则创建它
|
||||
mkdir -p /usr/local/bin
|
||||
fi
|
||||
systemctl daemon-reload
|
||||
# 部分安装包提前安装
|
||||
install_package wget
|
||||
install_package curl
|
||||
|
|
Loading…
Reference in a new issue