Fix version check condition

This commit is contained in:
Oleh Astappiev 2025-11-12 22:36:17 +01:00 committed by GitHub
parent c34d52bde0
commit ac8685785c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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