From f81cc24952a85c65727daf43b476cddd2d379aee Mon Sep 17 00:00:00 2001 From: Francois Pons Date: Mon, 28 Jul 2003 12:03:36 +0000 Subject: split of transaction is disabled if --test is used, else the test will problably fails. --- urpmi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/urpmi b/urpmi index bcc80fa3..033b908d 100755 --- a/urpmi +++ b/urpmi @@ -520,10 +520,11 @@ $urpm->copy_packages_of_removable_media($list, \%sources, }); #- now create transaction just before installation, this will save user impression of slowness. +#- split of transaction should be disabled if --test is used. $urpm->create_transaction($state, nodeps => $urpm->{options}{'allow-nodeps'} || $urpm->{options}{'allow-force'}, split_level => $urpm->{options}{'split-level'}, - split_length => $urpm->{options}{'split-length'}); + split_length => !$test && $urpm->{options}{'split-length'}); my ($ok, $nok) = (0, 0); my @errors; -- cgit v1.2.1