aboutsummaryrefslogtreecommitdiffstats
path: root/URPM.pm
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2003-03-10 16:44:18 +0000
committerFrancois Pons <fpons@mandriva.com>2003-03-10 16:44:18 +0000
commit7a020dddcbfe8607021850068d967e2ae7305cb6 (patch)
treed03bb100bf81a9c4b510593b6a940e2e1dbb9240 /URPM.pm
parent9accf4ef442661ca16d045919b4ae062bd34ecd9 (diff)
downloadperl-URPM-7a020dddcbfe8607021850068d967e2ae7305cb6.tar
perl-URPM-7a020dddcbfe8607021850068d967e2ae7305cb6.tar.gz
perl-URPM-7a020dddcbfe8607021850068d967e2ae7305cb6.tar.bz2
perl-URPM-7a020dddcbfe8607021850068d967e2ae7305cb6.tar.xz
perl-URPM-7a020dddcbfe8607021850068d967e2ae7305cb6.zip
0.81-12mdk
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;