From 4fd46ba2ca16c9114c623f8622be05d9db316de6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=82=9F=E7=A9=BA=E7=9A=84=E6=97=A5=E5=B8=B8=E9=95=9C?= =?UTF-8?q?=E5=83=8F=E4=BB=93=E5=BA=93?= Date: Fri, 3 Apr 2026 09:25:35 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20gl-inet-op24.sh?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gl-inet-op24.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gl-inet-op24.sh b/gl-inet-op24.sh index 3db36c6..8270f32 100644 --- a/gl-inet-op24.sh +++ b/gl-inet-op24.sh @@ -38,6 +38,12 @@ add_arch() { echo "下载 arch.conf 失败,脚本终止。" exit 1 fi + + if ! wget -O /etc/opkg/distfeeds.conf $HTTP_HOST/mt-3000/distfeeds-24.conf; then + echo "换源失败,脚本终止。" + exit 1 + fi + } ## 安装应用商店和主题