From 7ad0f6404fa9257b778928543c280c8d0052c241 Mon Sep 17 00:00:00 2001 From: Rafael Garcia-Suarez Date: Mon, 30 Aug 2004 07:06:20 +0000 Subject: Re-allow large transactions with --allow-nodeps or --allow-force to speed up updates (patch by Titi) --- urpm.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'urpm.pm') diff --git a/urpm.pm b/urpm.pm index e9562e12..7bc129a4 100644 --- a/urpm.pm +++ b/urpm.pm @@ -2209,7 +2209,7 @@ sub resolve_dependencies { sub create_transaction { my ($urpm, $state, %options) = @_; - if ($urpm->{parallel_handler} || !$options{split_length} || $options{nodeps} || + if ($urpm->{parallel_handler} || !$options{split_length} || keys %{$state->{selected}} < $options{split_level}) { #- build simplest transaction (no split). $urpm->build_transaction_set(undef, $state, split_length => 0); -- cgit v1.2.1