From c6347c0459744333b7fa5a0ce6cc8f0c9dc53b20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=96=B5=E4=BA=8C?= <66155308+miaoermua@users.noreply.github.com> Date: Mon, 10 Jun 2024 14:00:59 +0800 Subject: [PATCH] Update cattools.sh --- cattools.sh | 5 ----- 1 file changed, 5 deletions(-) diff --git a/cattools.sh b/cattools.sh index e5ccfa8..df40e86 100644 --- a/cattools.sh +++ b/cattools.sh @@ -58,7 +58,6 @@ check_for_updates() { if curl -m 5 -s -o "$TEMP_FILE" "$URL"; then if [ -s "$TEMP_FILE" ]; then echo "更新已找到,替换当前脚本..." - echo "" mv "$TEMP_FILE" "$0" chmod +x "$0" exec "$0" "$@" @@ -287,14 +286,10 @@ use_repo(){ opkg update } -# init - install_cattools check_for_updates -# choice - while true; do show_menu read choice