summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xurpmi3
1 files changed, 3 insertions, 0 deletions
diff --git a/urpmi b/urpmi
index 5b4cf20f..ecb55ad9 100755
--- a/urpmi
+++ b/urpmi
@@ -698,6 +698,7 @@ foreach my $set (@{$state->{transaction} || []}) {
};
my @l = $urpm->install(!$urpm->{options}{'allow-force'} && $set->{remove} || [],
\%transaction_sources_install, \%transaction_sources,
+ fork => @{$state->{transaction} || []} > 1, #- fork if multiple transaction
translate_message => 1,
oldpackage => $state->{oldpackage}, post_clean_cache => $urpm->{options}{'post-clean'},
test => $test,
@@ -716,6 +717,7 @@ foreach my $set (@{$state->{transaction} || []}) {
$urpm->{log}("starting installing packages without deps");
@l = $urpm->install(!$urpm->{options}{'allow-force'} && $set->{remove} || [],
\%transaction_sources_install, \%transaction_sources,
+ fork => @{$state->{transaction} || []} > 1, #- fork if multiple transaction
translate_message => 1, nodeps => 1,
oldpackage => $state->{oldpackage}, post_clean_cache => $urpm->{options}{'post-clean'},
test => $test,
@@ -732,6 +734,7 @@ foreach my $set (@{$state->{transaction} || []}) {
$urpm->{log}("starting force installing packages without deps");
@l = $urpm->install(!$urpm->{options}{'allow-force'} && $set->{remove} || [],
\%transaction_sources_install, \%transaction_sources,
+ fork => @{$state->{transaction} || []} > 1, #- fork if multiple transaction
translate_message => 1, nodeps => 1, force => 1,
oldpackage => $state->{oldpackage},
post_clean_cache => $urpm->{options}{'post-clean'},