From acdebb7dcc962eef5e654dfa235c0aa9dc832b36 Mon Sep 17 00:00:00 2001 From: klever1988 <56048681+klever1988@users.noreply.github.com> Date: Sun, 28 Mar 2021 14:19:52 +0800 Subject: [PATCH] autoupdate: fix tools download url --- scripts/autoupdate.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/autoupdate.sh b/scripts/autoupdate.sh index 22a76b5..8864cf5 100644 --- a/scripts/autoupdate.sh +++ b/scripts/autoupdate.sh @@ -11,8 +11,8 @@ proceed_command fdisk proceed_command sfdisk proceed_command losetup proceed_command resize2fs -wget -P /tmp https://ghproxy.com/https://github.com/klever1988/nanopi-openwrt/raw/zstd-bin/truncate -wget -P /tmp https://ghproxy.com/https://github.com/klever1988/nanopi-openwrt/raw/zstd-bin/ddnz +wget -P /tmp https://ghproxy.com/https://raw.githubusercontent.com/klever1988/nanopi-openwrt/zstd-bin/truncate +wget -P /tmp https://ghproxy.com/https://raw.githubusercontent.com/klever1988/nanopi-openwrt/zstd-bin/ddnz chmod +x /tmp/truncate /tmp/ddnz board_id=$(cat /etc/board.json | jsonfilter -e '@["model"].name' | tail -c 4 | tr -d "\n" | awk '{print tolower($0)}')