From 8f3f8be99d44cba2def08a28a9de3af2fc4150b1 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, 8 Jul 2024 23:02:07 +0800 Subject: [PATCH] Update catwrt_update --- cattools.sh | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/cattools.sh b/cattools.sh index 6c54a49..51ca5cd 100644 --- a/cattools.sh +++ b/cattools.sh @@ -371,14 +371,15 @@ catwrt_update() { contrast_version() { if [ "$version_remote" == "$version_local" ] && [ "$hash_remote" == "$hash_local" ]; then - echo "================================" - echo "Your CatWrt is up to date!" - echo "================================" + echo "=======================================================" + echo " Your CatWrt is up to date!" + echo "=======================================================" else - echo "================================" + echo "=======================================================" echo "Your CatWrt is out of date, you should upgrade it!" - echo "You can visit 'https://www.miaoer.xyz/posts/network/catwrt' to get more information!" - echo "================================" + echo "Visit the blog for more information" + echo "https://www.miaoer.xyz/posts/network/catwrt" + echo "=======================================================" fi } @@ -387,7 +388,7 @@ catwrt_update() { echo "Remote Version : $version_remote" echo "Local Hash : $hash_local" echo "Remote Hash : $hash_remote" - echo "================================" + echo "=======================================================" echo "" }