aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-08-27 09:32:48 +0000
committerThierry Vignaud <tv@mandriva.org>2007-08-27 09:32:48 +0000
commitd3d954c6b1361a12e3ed5d1370d2873b970b2840 (patch)
tree74dd42b9272fc4ed99d59f4f9bf642dc7d1bedaa
parent2d44e6bb283a45c35e72a293ca8fa5aab3e57eca (diff)
downloadrpmdrake-d3d954c6b1361a12e3ed5d1370d2873b970b2840.tar
rpmdrake-d3d954c6b1361a12e3ed5d1370d2873b970b2840.tar.gz
rpmdrake-d3d954c6b1361a12e3ed5d1370d2873b970b2840.tar.bz2
rpmdrake-d3d954c6b1361a12e3ed5d1370d2873b970b2840.tar.xz
rpmdrake-d3d954c6b1361a12e3ed5d1370d2873b970b2840.zip
(get_pkgs) parrallel mode should be managed w/o regards of updates
computation details (cosmetic since $probe_only_for_updates is only set by MandrivaUpdate which doesn't support --parallel mode)
-rwxr-xr-xRpmdrake/pkg.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm
index 16d48e03..36248fa0 100755
--- a/Rpmdrake/pkg.pm
+++ b/Rpmdrake/pkg.pm
@@ -345,10 +345,10 @@ sub get_pkgs {
push @installed_pkgs, $fullname;
$pkg->pack_header; # needed in order to call methods on objects outside ->traverse
});
- if (my $group = get_parallel_group()) {
- urpm::media::configure($urpm, parallel => $group);
}
+ if (my $group = get_parallel_group()) {
+ urpm::media::configure($urpm, parallel => $group);
}
# find out availlable packages: