diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2006-11-21 16:44:20 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2006-11-21 16:44:20 +0000 |
commit | 7a06098308affed9fd1498dc8f1cda7e7b6819d8 (patch) | |
tree | 844ff685783210d69488800cf966d2d0d70fd4cb /urpmi | |
parent | 6dd79ba8245b0e9aedaadcccc0c38564d8826abf (diff) | |
download | urpmi-7a06098308affed9fd1498dc8f1cda7e7b6819d8.tar urpmi-7a06098308affed9fd1498dc8f1cda7e7b6819d8.tar.gz urpmi-7a06098308affed9fd1498dc8f1cda7e7b6819d8.tar.bz2 urpmi-7a06098308affed9fd1498dc8f1cda7e7b6819d8.tar.xz urpmi-7a06098308affed9fd1498dc8f1cda7e7b6819d8.zip |
move create_transaction() and prepare_transaction() from urpm.pm into urpm/install.pm
Diffstat (limited to 'urpmi')
-rwxr-xr-x | urpmi | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -609,7 +609,7 @@ $urpm->copy_packages_of_removable_media( #- 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, +urpm::install::create_transaction($urpm, $state, nodeps => $urpm->{options}{'allow-nodeps'} || $urpm->{options}{'allow-force'}, split_level => $urpm->{options}{'split-level'}, split_length => !$test && $urpm->{options}{'split-length'}); @@ -624,7 +624,7 @@ foreach my $set (@{$state->{transaction} || []}) { print "\n"; #- prepare transaction... - $urpm->prepare_transaction($set, $list, \%sources, \@transaction_list, \%transaction_sources); + urpm::install::prepare_transaction($urpm, $set, $list, \%sources, \@transaction_list, \%transaction_sources); #- first, filter out what is really needed to download for this small transaction. $urpm->download_packages_of_distant_media( |