From 2199ef62ce8e610005e659b70c06b17bc83181a1 Mon Sep 17 00:00:00 2001 From: rowanchen-com Date: Sat, 21 Mar 2026 18:21:39 +0800 Subject: [PATCH] fix: force install full wget on Alpine to replace BusyBox version --- install.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 1a7b6a1..0882fd3 100644 --- a/install.sh +++ b/install.sh @@ -353,7 +353,10 @@ main() { # install dependent pkg if [[ $cmd =~ apk ]]; then - install_pkg $is_pkg + # Alpine: force install full versions to replace BusyBox applets + apk update &>/dev/null + apk add $is_pkg &>/dev/null + [[ $? == 0 ]] && >$is_pkg_ok else install_pkg $is_pkg & fi