livecheck not finding latest version
Rainer Müller
raimue at macports.org
Wed Feb 27 19:31:56 PST 2008
Anders F Björklund wrote:
> 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
> }
We could also use rpm-vercomp here, but you would never notice if the
site being checked is not updated anymore (happens e.g. with freshmeat).
So if the port version is newer than the version livecheck finds, we
should at least issue a warning that livecheck needs to be tweaked.
Rainer
More information about the macports-dev
mailing list