livecheck not finding latest version

Anders F Björklund afb at macports.org
Wed Feb 27 11:55:08 PST 2008


Adam Mercer wrote:

> Any ideas why livecheck is saying that 0.2 is newer than the ports
> 0.3, and how I can fix this? Is there a problem with my regular
> expression?

That's probably because livecheck doesn't check to see if the
new version is actually *newer*, it only checks if it changed...

	if {$updated_version != ${livecheck.version}} {
		set updated 1
	} else {
		set updated 0
	}

Most likely, that's a bug and it should use the regular compare.
(much like the display functions that weren't sorting correctly)

--anders



More information about the macports-dev mailing list