diff --git a/scripts/haproxy.sh b/scripts/haproxy.sh index 8265067..8a8bdb1 100644 --- a/scripts/haproxy.sh +++ b/scripts/haproxy.sh @@ -107,7 +107,8 @@ install_haproxy() { info "HAProxy未安装,开始安装..." step 2 5 "安装HAProxy软件包" info "更新系统包索引..." - if apt update -qq; then + #if apt update -qq; then + if apt update ; then success "系统包索引更新完成" else error "系统包索引更新失败,请检查网络" @@ -115,7 +116,8 @@ install_haproxy() { fi info "安装HAProxy..." - if apt install -y -qq haproxy; then + #if apt install -y -qq haproxy; then + if apt install -y haproxy; then success "HAProxy安装完成" else error "HAProxy安装失败"