mirror of
https://github.com/thelittlerocket/pve.git
synced 2025-03-04 09:43:17 +08:00
Update install_pve.sh
This commit is contained in:
parent
66159fd210
commit
cf056611a3
1 changed files with 1 additions and 1 deletions
|
@ -588,9 +588,9 @@ rm "$temp_file_apt_fix"
|
||||||
apt-get update -y
|
apt-get update -y
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
change_debian_apt_sources
|
change_debian_apt_sources
|
||||||
systemctl daemon-reload
|
|
||||||
apt-get update -y
|
apt-get update -y
|
||||||
fi
|
fi
|
||||||
|
systemctl daemon-reload
|
||||||
# 检测路径
|
# 检测路径
|
||||||
target_paths="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
|
target_paths="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
|
||||||
for path in $(echo $target_paths | tr ':' ' '); do
|
for path in $(echo $target_paths | tr ':' ' '); do
|
||||||
|
|
Loading…
Reference in a new issue