summaryrefslogtreecommitdiffstats
path: root/perl-install/do_pkgs.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-07-21 01:22:37 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-07-21 01:22:37 +0000
commit576d77f8a54bcbf0607a3b9c937d5a56248cb078 (patch)
tree069025fe31e0b5b15987f1127c0faddf19bf97fd /perl-install/do_pkgs.pm
parent7e8fa9773839843c9d8def81ec2ef1315115825a (diff)
downloaddrakx-backup-do-not-use-576d77f8a54bcbf0607a3b9c937d5a56248cb078.tar
drakx-backup-do-not-use-576d77f8a54bcbf0607a3b9c937d5a56248cb078.tar.gz
drakx-backup-do-not-use-576d77f8a54bcbf0607a3b9c937d5a56248cb078.tar.bz2
drakx-backup-do-not-use-576d77f8a54bcbf0607a3b9c937d5a56248cb078.tar.xz
drakx-backup-do-not-use-576d77f8a54bcbf0607a3b9c937d5a56248cb078.zip
->{in}->do_pkgs gives the same kind of object, removing it
Diffstat (limited to 'perl-install/do_pkgs.pm')
-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 eff29a3dc..f9dd64a1c 100644
--- a/perl-install/do_pkgs.pm
+++ b/perl-install/do_pkgs.pm
@@ -32,7 +32,7 @@ sub ensure_is_installed {
sub ensure_is_installed_if_available {
my ($do, $pkg, $file) = @_;
if (! -e "$::prefix$file" && !$::testing) {
- $do->{in}->do_pkgs->what_provides($pkg) and $do->{in}->do_pkgs->install($pkg);
+ $do->what_provides($pkg) and $do->install($pkg);
}
}