diff options
author | Francois Pons <fpons@mandriva.com> | 2003-07-28 12:03:36 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2003-07-28 12:03:36 +0000 |
commit | f81cc24952a85c65727daf43b476cddd2d379aee (patch) | |
tree | 8a38253fadcb1156d16117e9d227bba398bde4ae | |
parent | c6dd215b2f162f433b9331fa207e84194bdfa910 (diff) | |
download | urpmi-f81cc24952a85c65727daf43b476cddd2d379aee.tar urpmi-f81cc24952a85c65727daf43b476cddd2d379aee.tar.gz urpmi-f81cc24952a85c65727daf43b476cddd2d379aee.tar.bz2 urpmi-f81cc24952a85c65727daf43b476cddd2d379aee.tar.xz urpmi-f81cc24952a85c65727daf43b476cddd2d379aee.zip |
split of transaction is disabled if --test is used, else the test will problably
fails.
-rwxr-xr-x | urpmi | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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; |