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 11b4447..a724dda 100644
--- a/URPM.pm
+++ b/URPM.pm
@@ -50,7 +50,7 @@ sub search {
}
}
- foreach (keys %{$urpm->{provides}{$_} || {}}) {
+ foreach (keys %{$urpm->{provides}{$name} || {}}) {
my $pkg = $urpm->{depslist}[$_];
my ($n, undef, undef, $a) = $pkg->fullname;
$options{src} && $a eq 'src' || $pkg->is_arch_compat or next;