Update catwrt_update
This commit is contained in:
13
cattools.sh
13
cattools.sh
@@ -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 ""
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user