From 716bc51a60bade9f9d046660adfc39ffebf6f861 Mon Sep 17 00:00:00 2001 From: zepheris Date: Thu, 16 May 2024 17:17:24 +0000 Subject: [PATCH] Update dockcheck.sh Disabled Version Check --- dockcheck.sh | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/dockcheck.sh b/dockcheck.sh index 0372695..5b9e465 100755 --- a/dockcheck.sh +++ b/dockcheck.sh @@ -140,13 +140,13 @@ progress_bar() { } ### Version check & initiate self update -if [[ "$VERSION" != "$LatestRelease" ]] ; then - printf "New version available! %b%s%b ⇒ %b%s%b \n Change Notes: %s \n" "$c_yellow" "$VERSION" "$c_reset" "$c_green" "$LatestRelease" "$c_reset" "$LatestChanges" - if [[ -z "$AutoUp" ]] ; then - read -r -p "Would you like to update? y/[n]: " SelfUpdate - [[ "$SelfUpdate" =~ [yY] ]] && self_update - fi -fi +#if [[ "$VERSION" != "$LatestRelease" ]] ; then +# printf "New version available! %b%s%b ⇒ %b%s%b \n Change Notes: %s \n" "$c_yellow" "$VERSION" "$c_reset" "$c_green" "$LatestRelease" "$c_reset" "$LatestChanges" +# if [[ -z "$AutoUp" ]] ; then +# read -r -p "Would you like to update? y/[n]: " SelfUpdate +# [[ "$SelfUpdate" =~ [yY] ]] && self_update +# fi +#fi ### Set $1 to a variable for name filtering later. SearchName="$1"