Fix Linux Mint codename

This commit is contained in:
2024-09-03 19:56:52 -04:00
parent 8047269971
commit afd81aedf0

View File

@@ -1654,10 +1654,10 @@ update_self() {
local remote_version local remote_version
remote_version=$(extract_version "$tmp") remote_version=$(extract_version "$tmp")
debug HERE
[[ -z $remote_version ]] && { rm -f "$tmp"; return 1; } [[ -z $remote_version ]] && { rm -f "$tmp"; return 1; }
echo "$remote_version, $local_version"
if [[ $local_version < $remote_version ]]; then if [[ $local_version < $remote_version ]]; then
echo "Newer version of installJRMC found. Updating..." echo "Newer version of installJRMC found. Updating..."
execute mv "$tmp" "$SCRIPT_PATH" execute mv "$tmp" "$SCRIPT_PATH"