mirror of
https://github.com/fscarmen/sing-box.git
synced 2026-08-10 17:55:16 +08:00
Fix the bug related to iproute2 dependency installation in Alpine system.
This commit is contained in:
+3
-3
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user