summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-03-11 15:02:22 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-03-11 15:02:22 +0000
commit89bb035e2458ab187375178fe3fa067bd405f10f (patch)
tree3cdf4febb3837184322add90d1f799283f6eb0d0
parent4e19d0cf18547bb20418dd956f92342a8383847c (diff)
downloaddrakx-backup-do-not-use-89bb035e2458ab187375178fe3fa067bd405f10f.tar
drakx-backup-do-not-use-89bb035e2458ab187375178fe3fa067bd405f10f.tar.gz
drakx-backup-do-not-use-89bb035e2458ab187375178fe3fa067bd405f10f.tar.bz2
drakx-backup-do-not-use-89bb035e2458ab187375178fe3fa067bd405f10f.tar.xz
drakx-backup-do-not-use-89bb035e2458ab187375178fe3fa067bd405f10f.zip
use pkgs::packagesProviding()
-rw-r--r--perl-install/do_pkgs.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/do_pkgs.pm b/perl-install/do_pkgs.pm
index 9ab4a8982..11cb4e84b 100644
--- a/perl-install/do_pkgs.pm
+++ b/perl-install/do_pkgs.pm
@@ -86,7 +86,7 @@ sub check_kernel_module_packages {
sub what_provides {
my ($do, $name) = @_;
- map { $do->{o}{packages}{depslist}[$_]->name } keys %{$do->{o}{packages}{provides}{$name} || {}};
+ map { $_->name } pkgs::packagesProviding($do->{o}{packages}, $name);
}
sub are_installed {