更新 Mediatek.sh

Signed-off-by: zhao <zj18139624826@gmail.com>
This commit is contained in:
zhao 2025-06-15 13:35:52 +08:00
parent a637aea046
commit f3d3bb3606

View File

@ -73,14 +73,14 @@ fi
endgroup
# 加载缓存
group "加载缓存"
curl -L https://$github/oppen321/openwrt_caches/releases/download/OpenWrt_Toolchain_Cache/toolchain_gcc8_mediatek.tar.zst -o toolchain.tar.zst $CURL_BAR
tar -I "zstd" -xf toolchain.tar.zst
rm -f toolchain.tar.zst
mkdir bin
find ./staging_dir/ -name '*' -exec touch {} \; >/dev/null 2>&1
find ./tmp/ -name '*' -exec touch {} \; >/dev/null 2>&1
endgroup
# group "加载缓存"
# curl -L https://$github/oppen321/openwrt_caches/releases/download/OpenWrt_Toolchain_Cache/toolchain_gcc8_mediatek.tar.zst -o toolchain.tar.zst $CURL_BAR
# tar -I "zstd" -xf toolchain.tar.zst
# rm -f toolchain.tar.zst
# mkdir bin
# find ./staging_dir/ -name '*' -exec touch {} \; >/dev/null 2>&1
# find ./tmp/ -name '*' -exec touch {} \; >/dev/null 2>&1
# endgroup
# 生成默认配置
group "生成默认配置"