Update cattools.sh

This commit is contained in:
喵二
2023-12-27 18:11:12 +08:00
committed by GitHub
parent d2200bc8fc
commit 17a02edbad

View File

@@ -32,13 +32,13 @@ else
fi fi
update(){ update(){
if ! curl -fsSL https://service.miaoer.xyz/cattools/cattools.sh -o; then if ! curl -fsSLo /root/cattools https://service.miaoer.xyz/cattools/cattools.sh; then
echo "无法连接更新站点" echo "无法连接更新站点"
if ! curl -fsSL https://fastly.jsdelivr.net/gh/miaoermua/cattools@main/repo/mt798x/cattools.sh -o; then if ! curl -fsSLo /root/cattools https://fastly.jsdelivr.net/gh/miaoermua/cattools@main/repo/mt798x/cattools.sh; then
echo "无法连接更新仓库" echo "无法连接更新仓库"
if ! curl -fsSL https://raw.githubusercontent.com/miaoermua/service/main/cattools/cattools.sh -o; then if ! curl -fsSLo /root/cattools https://raw.githubusercontent.com/miaoermua/service/main/cattools/cattools.sh; then
echo "无法连接更新仓库" echo "无法连接更新仓库"
echo "无法连接互联网,请联系作者!" echo "无法连接互联网,请联系作者!"
return return