summaryrefslogtreecommitdiffstats
path: root/gurpmi2
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2006-11-21 16:44:20 +0000
committerPascal Rigaux <pixel@mandriva.com>2006-11-21 16:44:20 +0000
commit7a06098308affed9fd1498dc8f1cda7e7b6819d8 (patch)
tree844ff685783210d69488800cf966d2d0d70fd4cb /gurpmi2
parent6dd79ba8245b0e9aedaadcccc0c38564d8826abf (diff)
downloadurpmi-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-xgurpmi24
1 files changed, 2 insertions, 2 deletions
diff --git a/gurpmi2 b/gurpmi2
index d1edcef3..44cfcd25 100755
--- a/gurpmi2
+++ b/gurpmi2
@@ -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,