From 9ef138d3d1f5896aa9e3f07a768bfaf337831c80 Mon Sep 17 00:00:00 2001 From: Andreas Barth Date: Wed, 30 Mar 2011 20:51:02 +0000 Subject: [PATCH] fix previous commits --- bin/wanna-build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/wanna-build b/bin/wanna-build index 9de97a8..56e5ced 100755 --- a/bin/wanna-build +++ b/bin/wanna-build @@ -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)); -- 2.39.2