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 + } ## 安装应用商店和主题