On Tue, 2009-09-01 at 21:42 -0300, Nelson A. de Oliveira wrote:
> Is it possible to make uupdate recognize a tilde in the package version,
> please?

Maybe. :-)

I've avoided fiddling with uupdate's version detection code too much, as
the comments in the code don't exactly inspire patching:

# Match Pattern to extract a new version number from a given filename.
# I already had to fiddle with this a couple of times so I better put it up
# at front.  It is now written as a Perl regexp to make it nicer.  It only
# matches things like: file.3.4 and file2-3.2; it will die on names such
# as file3-2.7a, though.
MPATTERN='^(?:[a-zA-Z][a-zA-Z0-9]*(?:-|_|\.))+(\d+\.(?:\d+\.)*\d+)$'

Regards,

Adam




-- 
To unsubscribe, send mail to [email protected].

Reply via email to