mirror of
https://github.com/233boy/sing-box.git
synced 2026-05-02 22:04:40 +08:00
fix: correct Alpine package install error message
This commit is contained in:
@@ -209,7 +209,11 @@ check_status() {
|
||||
# dependent pkg install fail
|
||||
[[ ! -f $is_pkg_ok ]] && {
|
||||
msg err "安装依赖包失败"
|
||||
if [[ $cmd =~ apk ]]; then
|
||||
msg err "请尝试手动安装依赖包: apk update; apk add $is_pkg"
|
||||
else
|
||||
msg err "请尝试手动安装依赖包: $cmd update -y; $cmd install -y $is_pkg"
|
||||
fi
|
||||
is_fail=1
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user