From 206cb3a8e0e845f773614fad0babe99834fd7995 Mon Sep 17 00:00:00 2001 From: Hyy2001X <1804430051@qq.com> Date: Wed, 23 Jun 2021 22:55:10 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20Google=20=E8=BF=9E?= =?UTF-8?q?=E6=8E=A5=E6=A3=80=E6=B5=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Scripts/AutoUpdate.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Scripts/AutoUpdate.sh b/Scripts/AutoUpdate.sh index 4530c1c..f56fbff 100755 --- a/Scripts/AutoUpdate.sh +++ b/Scripts/AutoUpdate.sh @@ -400,7 +400,7 @@ PREPARE_UPGRADES() { } [[ ${Test_Mode} == 1 ]] && Downloader="wget --no-check-certificate --timeout 5" TIME g "执行: ${Proxy_Echo}${MSG}${TAIL_MSG}${MSG_2}" - if [[ $(CHECK_PKG curl) == true && ${Proxy_Mode} == 0 ]];then + if [[ $(CHECK_PKG curl) == true && ! ${Proxy_Mode} == 1 ]];then Google_Check=$(curl -I -s --connect-timeout 3 google.com -w %{http_code} | tail -n1) [[ ! ${Google_Check} == 301 ]] && { TIME r "Google 连接失败,尝试使用 [FastGit] 镜像加速!"