On Thu, 7 May 2015 11:55:11 +0200, Turbo Fredriksson<tu...@bayour.com> wrote:
>On Mar 27, 2015, at 10:25 PM, Lennart Sorensen wrote: > >> So always use ~wheezy suffix when building for wheezy and use no >> suffix when building for jessie > >This used to work, but doesn't seem to any more… I'm at a loss. > > wheezy: 0.6.4-1.1-1-wheezy > wheezy-daily: 0.6.4-12-0c60cc-wheezy > jessie: 0.6.4-1.1-1 > jessie-daily: 0.6.4-12-0c60cc > >Checking the 'wheezy' and 'jessie' packages: > > $ dpkg --compare-versions 0.6.4-1.1-1-wheezy lt 0.6.4-1.1-1; > echo $? 1 > $ dpkg --compare-versions 0.6.4-12-0c60cc-wheezy lt > 0.6.4-12-0c60cc; echo $? 1 > >So ISN'T true! What did I miss? Use "&&" instead: # dpkg --compare-versions 0.6.4-12-0c60cc-wheezy lt 0.6.4-12-0c60cc && echo true # dpkg --compare-versions 0.6.4-12-0c60cc~wheezy lt 0.6.4-12-0c60cc && echo true true http://stackoverflow.com/questions/4510640/command-line-what-is-the-purpose-of -- Andreas Rönnquist mailingli...@gusnan.se gus...@gusnan.se -- To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20150507121755.56e80...@debian-workstation.lan