From 4b18389b35f6e2bd5aa6493d76008ce7488a9664 Mon Sep 17 00:00:00 2001 From: rowanchen-com Date: Sat, 21 Mar 2026 18:14:18 +0800 Subject: [PATCH 1/2] fix: wait for background tasks before exit to prevent output overlap --- install.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/install.sh b/install.sh index 6ba92c0..1a7b6a1 100644 --- a/install.sh +++ b/install.sh @@ -448,6 +448,8 @@ main() { load core.sh # create a reality config add reality + # wait for background tasks (e.g., OpenRC service start) + wait # remove tmp dir and exit. exit_and_del_tmpdir ok } From 2199ef62ce8e610005e659b70c06b17bc83181a1 Mon Sep 17 00:00:00 2001 From: rowanchen-com Date: Sat, 21 Mar 2026 18:21:39 +0800 Subject: [PATCH 2/2] 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