From a6bba7ed8ff9e0535e9408fdf9cc046daa536a32 Mon Sep 17 00:00:00 2001 From: spiritlhl <103393591+spiritLHLS@users.noreply.github.com> Date: Sun, 30 Jul 2023 23:45:04 +0800 Subject: [PATCH] Update install_pve.sh --- scripts/install_pve.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/install_pve.sh b/scripts/install_pve.sh index 923661a..55ef176 100644 --- a/scripts/install_pve.sh +++ b/scripts/install_pve.sh @@ -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