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