From 9c8663c08d2c3c6525aaadd8f1b95257b6ab929a Mon Sep 17 00:00:00 2001 From: Hyy2001X <1804430051@qq.com> Date: Fri, 25 Jun 2021 17:50:42 +0800 Subject: [PATCH] =?UTF-8?q?V6.2.7=20=E4=BC=98=E5=85=88=E4=BD=BF=E7=94=A8?= =?UTF-8?q?=20wget=20=E4=BB=A3=E6=9B=BF=20uclient-fetch?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Scripts/AutoUpdate.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Scripts/AutoUpdate.sh b/Scripts/AutoUpdate.sh index 08ee886..e6fcb5e 100755 --- a/Scripts/AutoUpdate.sh +++ b/Scripts/AutoUpdate.sh @@ -696,7 +696,7 @@ AutoUpdate_Main() { done } -Version=V6.2.6 +Version=V6.2.7 log_Path=/tmp Update_Logs_Path=/tmp Upgrade_Command=sysupgrade @@ -711,7 +711,9 @@ Grey="\e[36m" Green="\e[32m" if [[ $(CHECK_PKG wget-ssl) == true ]];then - Downloader="wget-ssl -q --no-check-certificate -T 5 --tries 1 --no-dns-cache -x" + Downloader="wget-ssl -q --no-check-certificate -T 5 --no-dns-cache -x" +elif [[ $(CHECK_PKG wget) == true ]];then + Downloader="wget -q --no-check-certificate -T 5 --no-dns-cache -x" else Downloader="uclient-fetch -q --no-check-certificate --timeout 5" fi