Update catwrt_update

This commit is contained in:
喵二
2024-07-08 23:02:07 +08:00
committed by GitHub
parent 8c3e22e2f4
commit 8f3f8be99d

View File

@@ -371,14 +371,15 @@ catwrt_update() {
contrast_version() { contrast_version() {
if [ "$version_remote" == "$version_local" ] && [ "$hash_remote" == "$hash_local" ]; then if [ "$version_remote" == "$version_local" ] && [ "$hash_remote" == "$hash_local" ]; then
echo "================================" echo "======================================================="
echo "Your CatWrt is up to date!" echo " Your CatWrt is up to date!"
echo "================================" echo "======================================================="
else else
echo "================================" echo "======================================================="
echo "Your CatWrt is out of date, you should upgrade it!" 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 "Visit the blog for more information"
echo "================================" echo "https://www.miaoer.xyz/posts/network/catwrt"
echo "======================================================="
fi fi
} }
@@ -387,7 +388,7 @@ catwrt_update() {
echo "Remote Version : $version_remote" echo "Remote Version : $version_remote"
echo "Local Hash : $hash_local" echo "Local Hash : $hash_local"
echo "Remote Hash : $hash_remote" echo "Remote Hash : $hash_remote"
echo "================================" echo "======================================================="
echo "" echo ""
} }