diff options
Diffstat (limited to 'URPM.pm')
-rw-r--r-- | URPM.pm | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -30,7 +30,7 @@ sub set_nofatal { $_[0]{nofatal} = $_[1] } sub packages_providing { my ($urpm, $name) = @_; - map { $urpm->{depslist}[$_] } keys %{$urpm->{provides}{$name} || {}}; + grep { $_ } map { $urpm->{depslist}[$_] } keys %{$urpm->{provides}{$name} || {}}; } sub packages_obsoleting { |