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 /gurpmi2 | |
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 'gurpmi2')
-rwxr-xr-x | gurpmi2 | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -228,7 +228,7 @@ sub do_install_3 () { exit 0 if $response eq 'cancel'; 1; }); - $urpm->create_transaction( + urpm::install::create_transaction($urpm, $state, split_level => $urpm->{options}{'split-level'}, split_length => $urpm->{options}{'split-length'}, @@ -237,7 +237,7 @@ sub do_install_3 () { my $progress_nb; foreach my $set (@{$state->{transaction} || []}) { my (@transaction_list, %transaction_sources); - $urpm->prepare_transaction($set, $list, \%sources, \@transaction_list, \%transaction_sources); + urpm::install::prepare_transaction($urpm, $set, $list, \%sources, \@transaction_list, \%transaction_sources); $urpm->download_packages_of_distant_media( \@transaction_list, \%transaction_sources, |