]> git.donarmstrong.com Git - wannabuild.git/commitdiff
merge-v3: fix moving binNMUed packages to installed
authorAndreas Barth <aba@not.so.argh.org>
Thu, 31 Mar 2011 17:38:26 +0000 (17:38 +0000)
committerAndreas Barth <aba@not.so.argh.org>
Thu, 31 Mar 2011 17:38:26 +0000 (17:38 +0000)
bin/wanna-build

index 06402eae847a7d2df84dee757b322e6da7357f9f..6249d10e6eea6078d0625e18f52fae42346e7386 100755 (executable)
@@ -2497,7 +2497,7 @@ sub parse_all_v3 {
             ($pkg->{'binary_nmu_version'} ? ";b".$pkg->{'binary_nmu_version'} : "").
             ", $pkg->{'state'}):";
 
-        if (isin($pkgs->{'status'}, qw (installed related)) && $pkgs->{'version'} eq $pkg->{'version'} && $pkgs->{'binnmu'}//0 < int($pkg->{'binary_nmu_version'}//0)) {
+        if (isin($pkgs->{'status'}, qw (installed related)) && $pkgs->{'version'} eq $pkg->{'version'} && ($pkgs->{'binnmu'}//0) < int($pkg->{'binary_nmu_version'}//0)) {
                 $pkgs->{'status'} = 'out-of-date';
         }
         if (isin($pkgs->{'status'}, qw (installed related auto-not-for-us))) {