mirror of
https://github.com/mag37/dockcheck.git
synced 2026-02-14 15:28:22 +01:00
Fix version check condition
This commit is contained in:
parent
c34d52bde0
commit
ac8685785c
1 changed files with 1 additions and 1 deletions
|
|
@ -358,7 +358,7 @@ list_options() {
|
|||
}
|
||||
|
||||
# Version check & initiate self update
|
||||
if [[ "$LatestRelease" != "undefined" ]]; then
|
||||
if [[ "$LatestSnippet" != "undefined" ]]; then
|
||||
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 [[ "$AutoMode" == false ]]; then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue