mirror of
https://github.com/233boy/sing-box.git
synced 2026-05-02 22:04:40 +08:00
fix: force install full wget on Alpine to replace BusyBox version
This commit is contained in:
@@ -353,7 +353,10 @@ main() {
|
|||||||
|
|
||||||
# install dependent pkg
|
# install dependent pkg
|
||||||
if [[ $cmd =~ apk ]]; then
|
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
|
else
|
||||||
install_pkg $is_pkg &
|
install_pkg $is_pkg &
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user