diff options
author | Olivier Blin <oblin@mandriva.com> | 2009-11-12 18:39:40 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2009-11-12 18:39:40 +0000 |
commit | 36a18ea4b7b99148db004b6c1c56f675f82b287c (patch) | |
tree | 87c9079d8f23fbc9a7db86b342e7300a5837454f /perl-install | |
parent | 6cc8574a6e37cb33949cac3395c220d63836472a (diff) | |
download | drakx-36a18ea4b7b99148db004b6c1c56f675f82b287c.tar drakx-36a18ea4b7b99148db004b6c1c56f675f82b287c.tar.gz drakx-36a18ea4b7b99148db004b6c1c56f675f82b287c.tar.bz2 drakx-36a18ea4b7b99148db004b6c1c56f675f82b287c.tar.xz drakx-36a18ea4b7b99148db004b6c1c56f675f82b287c.zip |
oops, revert unwanted commit
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/install/pkgs.pm | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/perl-install/install/pkgs.pm b/perl-install/install/pkgs.pm index 02d125b4a..6e01f37e8 100644 --- a/perl-install/install/pkgs.pm +++ b/perl-install/install/pkgs.pm @@ -81,17 +81,12 @@ sub size2time { } } -sub packageProviding { - my ($packages, $name) = @_; - grep { $_->is_arch_compat && $_->name eq $name } URPM::packages_providing($packages, $name); -} - #- search package with given name and compatible with current architecture. #- take the best one found (most up-to-date). sub packageByName { my ($packages, $name) = @_; - my @l = packageProviding($packages, $name); + my @l = grep { $_->is_arch_compat && $_->name eq $name } URPM::packages_providing($packages, $name); my $best; foreach (@l) { |