From 17a02edbad7abb1df173cd468ad7348bb6a3f96e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=96=B5=E4=BA=8C?= <66155308+miaoermua@users.noreply.github.com> Date: Wed, 27 Dec 2023 18:11:12 +0800 Subject: [PATCH] Update cattools.sh --- cattools.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cattools.sh b/cattools.sh index 1fe9f44..679b0ec 100644 --- a/cattools.sh +++ b/cattools.sh @@ -32,13 +32,13 @@ else fi 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 "无法连接更新站点" - 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 "无法连接更新仓库" - 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 "无法连接互联网,请联系作者!" return