Update dockcheck.sh

Disabled Version Check
This commit is contained in:
zepheris 2024-05-16 17:17:24 +00:00
parent e4fae7128e
commit 716bc51a60

View File

@ -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"