[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: PRE Version numbers



On Tue, Jan 16, 2001 at 12:18:06AM +1000, Anthony Towns wrote:
> On Mon, Jan 15, 2001 at 02:51:27PM +0100, Ingo Saitz wrote:
> >     upstream-version debian-revision    version
> >         1.4-0pre1   -       1       = 1.4-0pre1-1
> >         1.4-0pre1   -       2       = 1.4-0pre1-2
> >         1.4-0pre2   -       1       = 1.4-0pre2-1
> >         1.4         -       1       = 1.4-1
> 
> $ dpkg --compare-versions '1.4-0pre2-1' '<<' '1.4-1'; echo $?
> 1
I don't think is the right thing to do, but it could be a solution to
add -rel (release) on the  released version:

dpkg --compare-versions '1.06-pre1-9' '<<' '1.06-rel-1'; echo $?
0

greets

[]s!

-- 
Gustavo Noronha Silva - kov
/*******************************************************
* http://www.metainfo.org/kov			       *
* GPG Key: http://www.metainfo.org/kov/html/pgp.html   *
* http://www.brainbench.com/transcript.jsp?pid=2448987 *
*******************************************************/

Attachment: pgpUAXXtSmBJu.pgp
Description: PGP signature


Reply to: