aboutsummaryrefslogtreecommitdiffstats
path: root/URPM.pm
diff options
context:
space:
mode:
Diffstat (limited to 'URPM.pm')
-rw-r--r--URPM.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/URPM.pm b/URPM.pm
index 72278a1..541e292 100644
--- a/URPM.pm
+++ b/URPM.pm
@@ -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 {