From 24b6a35355b04dfd5ce6259b0f97ca1bc1fc8f86 Mon Sep 17 00:00:00 2001 From: yanistyle Date: Thu, 23 Oct 2025 22:56:37 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=B8=D1=82?= =?UTF-8?q?=D1=8C=20scripts/autoupdate-bash.sh?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/autoupdate-bash.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/autoupdate-bash.sh b/scripts/autoupdate-bash.sh index 187256e..ed25a06 100644 --- a/scripts/autoupdate-bash.sh +++ b/scripts/autoupdate-bash.sh @@ -28,9 +28,9 @@ rm -rf /tmp/upg && mkdir /tmp/upg && cd /tmp/upg latest_release_tag=`get_latest_release stupidloud/nanopi-openwrt` echo -e '\e[92m准备更新到'$latest_release_tag'\e[0m' -md5sum=`wget https://mirror.ghproxy.com/https://github.com/stupidloud/nanopi-openwrt/releases/download/$latest_release_tag/$board_id$ver.img.gz -O- | tee >(gzip -dc>$board_id.img) | md5sum | awk '{print $1}'` +md5sum=`wget --no-check-certificate https://mirror.ghproxy.com/https://github.com/stupidloud/nanopi-openwrt/releases/download/$latest_release_tag/$board_id$ver.img.gz -O- | tee >(gzip -dc>$board_id.img) | md5sum | awk '{print $1}'` if [ "$md5sum" != "d41d8cd98f00b204e9800998ecf8427e" ]; then - wget https://mirror.ghproxy.com/https://github.com/stupidloud/nanopi-openwrt/releases/download/$latest_release_tag/$board_id$ver.img.gz.md5 -O md5sum.txt + wget --no-check-certificate https://mirror.ghproxy.com/https://github.com/stupidloud/nanopi-openwrt/releases/download/$latest_release_tag/$board_id$ver.img.gz.md5 -O md5sum.txt echo -e '\e[92m'$latest_release_tag'固件已下载\e[0m' fi