diff --git a/cattools.sh b/cattools.sh index 2f5a581..7f796c9 100644 --- a/cattools.sh +++ b/cattools.sh @@ -631,8 +631,8 @@ apply_repo() { case "$version" in v22.12) REPO_URL="$BASE_URL/history/v22.12/amd64" ;; v23.2) REPO_URL="$BASE_URL/history/v23.2/amd64" ;; - v23.8) REPO_URL="$BASE_URL/amd64" ;; - v24.9) REPO_URL="$BASE_URL/pr/v24.9/amd64" ;; + v23.8) REPO_URL="$BASE_URL/history/v23.8/amd64" ;; + v24.9) REPO_URL="$BASE_URL/amd64" ;; *) echo "Unknown version: $version" && exit 1 ;; esac ;; @@ -667,7 +667,7 @@ apply_repo() { echo "本人不对所有软件进行保证,我们没有提供第三方商业服务,使用风险需要自行承担。" echo "你需要同意 CatWrt 软件源用户协议,请确认是否继续。 (10 秒内按 [Ctrl]+[C] 取消操作)" - if { { [ "$arch" == "amd64" ] && { [ "$version" == "v24.3" ] || [ "$version" == "v24.9" ]; } } || { [ "$arch" == "mt798x" ] && [ "$version" == "v24.3" ]; } } || { [ "$arch" == "rkarm" ] && [ "$version" == "v24.1" ]; }; then + if { { [ "$arch" == "mt798x" ] && [ "$version" == "v24.3" ]; } } || { [ "$arch" == "rkarm" ] && [ "$version" == "v24.1" ]; }; then echo "你目前使用的 BETA 版本,只能临时搭建的镜像站软件源,请注意关注 CatWrt 的更新情况,避免软件源失效!" echo "============================================================================" echo "请选择要使用的软件源:" diff --git a/repo/history/v23.8/amd64/cfnetlify.conf b/repo/history/v23.8/amd64/cfnetlify.conf new file mode 100644 index 0000000..e34d27a --- /dev/null +++ b/repo/history/v23.8/amd64/cfnetlify.conf @@ -0,0 +1,6 @@ +src/gz openwrt_core https://cfnetlify.catwrt.eu.org/history/v23.8/targets/x86/64/packages +src/gz openwrt_base https://cfnetlify.catwrt.eu.org/history/v23.8/x86_64/base +src/gz openwrt_luci https://cfnetlify.catwrt.eu.org/history/v23.8/x86_64/luci +src/gz openwrt_packages https://cfnetlify.catwrt.eu.org/history/v23.8/x86_64/packages +src/gz openwrt_routing https://cfnetlify.catwrt.eu.org/history/v23.8/x86_64/routing +src/gz openwrt_telephony https://cfnetlify.catwrt.eu.org/history/v23.8/x86_64/telephony \ No newline at end of file diff --git a/repo/history/v23.8/amd64/cfvercel.conf b/repo/history/v23.8/amd64/cfvercel.conf new file mode 100644 index 0000000..e875b19 --- /dev/null +++ b/repo/history/v23.8/amd64/cfvercel.conf @@ -0,0 +1,6 @@ +src/gz openwrt_core https://cfvercel.catwrt.eu.org/history/v23.8/targets/x86/64/packages +src/gz openwrt_base https://cfvercel.catwrt.eu.org/history/v23.8/x86_64/base +src/gz openwrt_luci https://cfvercel.catwrt.eu.org/history/v23.8/x86_64/luci +src/gz openwrt_packages https://cfvercel.catwrt.eu.org/history/v23.8/x86_64/packages +src/gz openwrt_routing https://cfvercel.catwrt.eu.org/history/v23.8/x86_64/routing +src/gz openwrt_telephony https://cfvercel.catwrt.eu.org/history/v23.8/x86_64/telephony diff --git a/repo/history/v23.8/amd64/distfeeds.conf b/repo/history/v23.8/amd64/distfeeds.conf new file mode 100644 index 0000000..444567f --- /dev/null +++ b/repo/history/v23.8/amd64/distfeeds.conf @@ -0,0 +1,6 @@ +src/gz openwrt_core https://repo.miaoer.xyz/history/v23.8/targets/x86/64/packages +src/gz openwrt_base https://repo.miaoer.xyz/history/v23.8/x86_64/base +src/gz openwrt_luci https://repo.miaoer.xyz/history/v23.8/x86_64/luci +src/gz openwrt_packages https://repo.miaoer.xyz/history/v23.8/x86_64/packages +src/gz openwrt_routing https://repo.miaoer.xyz/history/v23.8/x86_64/routing +src/gz openwrt_telephony https://repo.miaoer.xyz/history/v23.8/x86_64/telephony diff --git a/repo/history/v23.8/amd64/github.conf b/repo/history/v23.8/amd64/github.conf new file mode 100644 index 0000000..d4842db --- /dev/null +++ b/repo/history/v23.8/amd64/github.conf @@ -0,0 +1,6 @@ +src/gz openwrt_core https://github.catwrt.eu.org/history/v23.8/targets/x86/64/packages +src/gz openwrt_base https://github.catwrt.eu.org/history/v23.8/x86_64/base +src/gz openwrt_luci https://github.catwrt.eu.org/history/v23.8/x86_64/luci +src/gz openwrt_packages https://github.catwrt.eu.org/history/v23.8/x86_64/packages +src/gz openwrt_routing https://github.catwrt.eu.org/history/v23.8/x86_64/routing +src/gz openwrt_telephony https://github.catwrt.eu.org/history/v23.8/x86_64/telephony diff --git a/repo/history/v23.8/amd64/netlify.conf b/repo/history/v23.8/amd64/netlify.conf new file mode 100644 index 0000000..d89e547 --- /dev/null +++ b/repo/history/v23.8/amd64/netlify.conf @@ -0,0 +1,6 @@ +src/gz openwrt_core https://netlify.catwrt.eu.org/history/v23.8/targets/x86/64/packages +src/gz openwrt_base https://netlify.catwrt.eu.org/history/v23.8/x86_64/base +src/gz openwrt_luci https://netlify.catwrt.eu.org/history/v23.8/x86_64/luci +src/gz openwrt_packages https://netlify.catwrt.eu.org/history/v23.8/x86_64/packages +src/gz openwrt_routing https://netlify.catwrt.eu.org/history/v23.8/x86_64/routing +src/gz openwrt_telephony https://netlify.catwrt.eu.org/history/v23.8/x86_64/telephony diff --git a/repo/history/v23.8/amd64/vercel.conf b/repo/history/v23.8/amd64/vercel.conf new file mode 100644 index 0000000..b38a9c9 --- /dev/null +++ b/repo/history/v23.8/amd64/vercel.conf @@ -0,0 +1,6 @@ +src/gz openwrt_core https://vercel.catwrt.eu.org/history/v23.8/targets/mt798x/filogic/packages +src/gz openwrt_base https://vercel.catwrt.eu.org/history/v23.8/mt798x/base +src/gz openwrt_luci https://vercel.catwrt.eu.org/history/v23.8/mt798x/luci +src/gz openwrt_packages https://vercel.catwrt.eu.org/history/v23.8/mt798x/packages +src/gz openwrt_routing https://vercel.catwrt.eu.org/history/v23.8/mt798x/routing +src/gz openwrt_telephony https://vercel.catwrt.eu.org/history/v23.8/mt798x/telephony diff --git a/repo/pr/v24.9/amd64/netlify.conf b/repo/pr/v24.9/amd64/netlify.conf deleted file mode 100644 index 48f487c..0000000 --- a/repo/pr/v24.9/amd64/netlify.conf +++ /dev/null @@ -1,6 +0,0 @@ -src/gz openwrt_core https://deploy-preview-37--catwrt.netlify.app/targets/x86/64/packages -src/gz openwrt_base https://deploy-preview-37--catwrt.netlify.app/x86_64/base -src/gz openwrt_luci https://deploy-preview-37--catwrt.netlify.app/x86_64/luci -src/gz openwrt_packages https://deploy-preview-37--catwrt.netlify.app/x86_64/packages -src/gz openwrt_routing https://deploy-preview-37--catwrt.netlify.app/x86_64/routing -src/gz openwrt_telephony https://deploy-preview-37--catwrt.netlify.app/x86_64/telephony diff --git a/repo/pr/v24.9/amd64/vercel.conf b/repo/pr/v24.9/amd64/vercel.conf deleted file mode 100644 index 9a33dd2..0000000 --- a/repo/pr/v24.9/amd64/vercel.conf +++ /dev/null @@ -1,6 +0,0 @@ -src/gz openwrt_core https://catwrt-git-v249amd64-miaoermuas-projects.vercel.app/targets/x86/64/packages -src/gz openwrt_base https://catwrt-git-v249amd64-miaoermuas-projects.vercel.app/x86_64/base -src/gz openwrt_luci https://catwrt-git-v249amd64-miaoermuas-projects.vercel.app/x86_64/luci -src/gz openwrt_packages https://catwrt-git-v249amd64-miaoermuas-projects.vercel.app/x86_64/packages -src/gz openwrt_routing https://catwrt-git-v249amd64-miaoermuas-projects.vercel.app/x86_64/routing -src/gz openwrt_telephony https://catwrt-git-v249amd64-miaoermuas-projects.vercel.app/x86_64/telephony