From 78f0bb599533d6ee068f988f09f93b8eb7823518 Mon Sep 17 00:00:00 2001 From: fscarmen <62703343+fscarmen@users.noreply.github.com> Date: Fri, 25 Jul 2025 15:10:13 +0000 Subject: [PATCH] Fix the bug related to iproute2 dependency installation in Alpine system. --- sing-box.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sing-box.sh b/sing-box.sh index b050f07..fc20d6b 100644 --- a/sing-box.sh +++ b/sing-box.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash # 当前脚本版本号 -VERSION='v1.2.17 (2025.07.16)' +VERSION='v1.2.17 (2025.07.25)' # 各变量默认值 GH_PROXY='gh-proxy.com/' @@ -1068,8 +1068,8 @@ check_dependencies() { fi # 检测 Linux 系统的依赖,升级库并重新安装依赖 - local DEPS_INSTALL=("wget" "tar" "iproute2" "iproute2" "bash" "openssl" "ping") - local DEPS_CHECK=("wget" "tar" "ss" "ip" "bash" "openssl" "iputils-ping") + local DEPS_INSTALL=("wget" "tar" "iproute2" "iproute2" "bash" "openssl" "iputils-ping") + local DEPS_CHECK=("wget" "tar" "ss" "ip" "bash" "openssl" "ping") [ "$SYSTEM" != 'Alpine' ] && DEPS_CHECK+=("systemctl") && DEPS_INSTALL+=("systemctl") for g in "${!DEPS_CHECK[@]}"; do