From 71d60aa501611fde40cadaa5b2b96e4b5e1dca5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=9D=E4=BB=A3=E5=B0=BE?= Date: Thu, 19 Mar 2026 15:28:20 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20hy2.sh?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hy2.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hy2.sh b/hy2.sh index 1b52298..a379ec7 100644 --- a/hy2.sh +++ b/hy2.sh @@ -96,7 +96,7 @@ wait_for_apt_lock() { } apt_update_and_install_base() { - if ! confirm_yn "即将执行 apt update 并安装基础依赖 curl sed ufw openssl,是否继续?"; then + if ! confirm_yn "即将执行 apt update 并安装基础依赖 jq curl sed ufw openssl,是否继续?"; then red "已取消。" exit 1 fi @@ -109,7 +109,7 @@ apt_update_and_install_base() { blue "==> 安装基础依赖" wait_for_apt_lock 300 || { red "APT 被占用,无法继续。"; exit 1; } - apt install -y curl sed ufw openssl + apt install -y jq curl sed ufw openssl } disable_existing_firewalls() {