livecheck not finding latest version

Simon Ruderich simon at ruderich.com
Mon Mar 10 15:58:54 PDT 2008


On Mon, Mar 10, 2008 at 01:07:07AM +0100, Rainer Müller wrote:
> Simon Ruderich wrote:
>
>> I looked into this and the problem is that [rpm-vercomp $upver
>> $updated_version] returns -1 if $updated_version is 0 and $upver is something
>> like fdm-1.5 which is true before any version is found. It works fine for
>> $upvar 1.5.
>
> Hm, you are right. rpm-vercomp just skips any alphabetic characters at the 
> begin of the string if they appear in both versions.
>
> [snip]
>
> I committed a similar fix in r34874.
>
> Rainer

Hi Rainer,

thanks for your quick help.

Simon
-- 
+ privacy is necessary
+ using http://gnupg.org
+ public key id: 0x6115F804EFB33229
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 194 bytes
Desc: not available
Url : http://lists.macosforge.org/pipermail/macports-dev/attachments/20080310/93bad495/attachment.bin 


More information about the macports-dev mailing list