From 6d56599e2f385abaff9e18fc647e0dfbc36d642b Mon Sep 17 00:00:00 2001 From: the Sane <3657071+the-sane@users.noreply.github.com> Date: Fri, 7 Jan 2022 14:23:43 -0500 Subject: [PATCH] Add comment --- lug-helper.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/lug-helper.sh b/lug-helper.sh index 171a394..4a12d1b 100755 --- a/lug-helper.sh +++ b/lug-helper.sh @@ -1602,6 +1602,7 @@ live_or_ptu="$live_dir" # Check if a newer verison of the script is available latest_version="$(get_latest_release "$repo")" +# Sort the versions and check if the installed Helper is smaller if [ "$latest_version" != "$current_version" ] && [ "$current_version" = "$(printf "$current_version\n$latest_version" | sort -V | head -n1)" ]; then if [ "$use_zenity" -eq 1 ]; then