On Thu, Oct 12, 2000 at 04:02:22PM -0700, Yves Arrouye wrote:
> In my quest to figure out how to number a prerelease package for ICU that
> will be upgraded by icu-1.7-1 (final release), I came up with names like:
> 
>       1.7.0.pre.20001012
> 
> which work w/ dpkg version comparison but also mean that the Debian revision
> is non-numeric, as it is 0.pre.20001012. Is that allowed?

% dpkg --compare-versions 1.7.0 gt 1.7-pre-20001012 || echo false

% dpkg --compare-versions 1.7.0 gt 1.7pre.20001012 || echo false

That way, you can use any Debian revision, upgrading will work.

-- 
Digital Electronic Being Intended for Assassination and Nullification


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to