Update dockcheck.sh
Disabled Version Check
This commit is contained in:
parent
e4fae7128e
commit
716bc51a60
14
dockcheck.sh
14
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"
|
||||
|
Loading…
Reference in New Issue
Block a user