From 6299dcd9a347dc0ba4fcd0df1f776a8df8195fa9 Mon Sep 17 00:00:00 2001 From: tsosunchia <59512455+tsosunchia@users.noreply.github.com> Date: Thu, 26 May 2022 20:40:06 +0800 Subject: [PATCH] Update quicklytest.sh --- quicklytest.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/quicklytest.sh b/quicklytest.sh index 777a1e7..b581abe 100644 --- a/quicklytest.sh +++ b/quicklytest.sh @@ -33,12 +33,12 @@ ask_if() #检查脚本更新 check_script_update() { - [ "$(md5sum "${BASH_SOURCE[0]}" | awk '{print $1}')" == "$(md5sum <(curl -sL "https://github.com/xgadget-lab/nexttrace/raw/main/quicklytest.sh") | awk '{print $1}')" ] && return 1 || return 0 + [ "$(md5sum "${BASH_SOURCE[0]}" | awk '{print $1}')" == "$(md5sum <(curl -sL "https://github.com/tsosunchia/nexttrace/raw/main/quicklytest.sh") | awk '{print $1}')" ] && return 1 || return 0 } #更新脚本 update_script() { - if curl -o "${BASH_SOURCE[0]}" "https://github.com/xgadget-lab/nexttrace/raw/main/quicklytest.sh" || curl -o "${BASH_SOURCE[0]}" "https://github.com/xgadget-lab/nexttrace/raw/main/quicklytest.sh"; then + if curl -o "${BASH_SOURCE[0]}" "https://github.com/tsosunchia/nexttrace/raw/main/quicklytest.sh" || curl -o "${BASH_SOURCE[0]}" "https://github.com/tsosunchia/nexttrace/raw/main/quicklytest.sh"; then echo -e "${Info} 脚本更新完成,请重新运行脚本!" exit 0 else