]> git.donarmstrong.com Git - wannabuild.git/commitdiff
fix previous commits
authorAndreas Barth <aba@not.so.argh.org>
Wed, 30 Mar 2011 20:51:02 +0000 (20:51 +0000)
committerAndreas Barth <aba@not.so.argh.org>
Wed, 30 Mar 2011 20:51:02 +0000 (20:51 +0000)
bin/wanna-build

index 9de97a83d0d1f952b39456fa6baedeff7db1ebb1..56e5ced97a300d4309341e7e1f06b04c4085ba3c 100755 (executable)
@@ -3116,7 +3116,7 @@ sub parse_all_v3 {
             print "$logstr package in unknown state: $pkgs->{'status'}\n";
             next SRCS;
         }
-        next if $pkgs->{'version'} eq $pkg->{'version'} and $pkgs->{'binnmu'} and $pkgs->{'binnmu'} >= int($pkg->{'binary_nmu_version'});
+        next if $pkgs->{'version'} eq $pkg->{'version'} and $pkgs->{'binnmu'}//0 >= int($pkg->{'binary_nmu_version'}//0);
         next if $pkgs->{'version'} eq $pkg->{'version'} and !isin( $pkg->{'state'}, qw(Installed));
         next if isin( $pkg->{'state'}, qw(Not-For-Us Failed-Removed));