summaryrefslogtreecommitdiffstats
path: root/perl-install/install/pkgs.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-05-23 18:28:18 +0000
committerThierry Vignaud <tv@mageia.org>2012-05-23 18:28:18 +0000
commit142e49b1e0baa4945b2cf1ef611304bd441b0ed5 (patch)
tree796af514c59a5f848d2bf9ca6cca889ef7199954 /perl-install/install/pkgs.pm
parent6ec419f4e25777745f4f17bfa1a38927c9b1be6b (diff)
downloaddrakx-142e49b1e0baa4945b2cf1ef611304bd441b0ed5.tar
drakx-142e49b1e0baa4945b2cf1ef611304bd441b0ed5.tar.gz
drakx-142e49b1e0baa4945b2cf1ef611304bd441b0ed5.tar.bz2
drakx-142e49b1e0baa4945b2cf1ef611304bd441b0ed5.tar.xz
drakx-142e49b1e0baa4945b2cf1ef611304bd441b0ed5.zip
(parse_args,empty_packages) enable to go fast with 'tune-rpm'...
for testing (it looks like urpm::set_tune_rpm() is more effective than what does install::pkgs::install() & _remove_raw()
Diffstat (limited to 'perl-install/install/pkgs.pm')
-rw-r--r--perl-install/install/pkgs.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/install/pkgs.pm b/perl-install/install/pkgs.pm
index a9a17d4f1..7f6c8a729 100644
--- a/perl-install/install/pkgs.pm
+++ b/perl-install/install/pkgs.pm
@@ -386,6 +386,7 @@ sub empty_packages {
defined($o_keep_unrequested_dependencies) ? $o_keep_unrequested_dependencies : 1;
$urpm::args::options{force_transactions} = 1;
$urpm::args::options{justdb} = $::o->{justdb};
+ urpm::set_tune_rpm($packages, $::o->{'tune-rpm'}) if $::o->{'tune-rpm'};
$::force = 1;
$packages->{options}{ignoresize} = 1;
# prevent priority upgrade (redundant for now as $urpm->{root} implies disabling it: