diff options
author | Francois Pons <fpons@mandriva.com> | 2003-08-22 15:13:00 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2003-08-22 15:13:00 +0000 |
commit | b7c0cd335ae09e787a9230cfdbae4d9f9d9e3f00 (patch) | |
tree | d4efd5400dcc96bf3f0ab7c65a40e6577a8ccd86 | |
parent | 2f64a1cc02bf1f6934747d973a11a7a2f7b57208 (diff) | |
download | urpmi-b7c0cd335ae09e787a9230cfdbae4d9f9d9e3f00.tar urpmi-b7c0cd335ae09e787a9230cfdbae4d9f9d9e3f00.tar.gz urpmi-b7c0cd335ae09e787a9230cfdbae4d9f9d9e3f00.tar.bz2 urpmi-b7c0cd335ae09e787a9230cfdbae4d9f9d9e3f00.tar.xz urpmi-b7c0cd335ae09e787a9230cfdbae4d9f9d9e3f00.zip |
implemented forked transaction when more than one transaction are used.
-rwxr-xr-x | urpmi | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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'}, |