Update cattools.sh

This commit is contained in:
喵二
2024-07-01 19:17:49 +08:00
committed by GitHub
parent 9de63f3932
commit 943c55184e

View File

@@ -21,7 +21,7 @@ fi
# Update # Update
update_cattools() { update_cattools() {
echo: "Please wait for the script to be updated." echo "Please wait for the script to be updated."
local temp_file=$(mktemp) local temp_file=$(mktemp)
if curl --silent --connect-timeout 5 -o "$temp_file" https://raw.githubusercontent.com/miaoermua/cattools/main/cattools.sh; then if curl --silent --connect-timeout 5 -o "$temp_file" https://raw.githubusercontent.com/miaoermua/cattools/main/cattools.sh; then
echo "cattools update downloaded from the first URL." echo "cattools update downloaded from the first URL."