From 7a06098308affed9fd1498dc8f1cda7e7b6819d8 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Tue, 21 Nov 2006 16:44:20 +0000 Subject: move create_transaction() and prepare_transaction() from urpm.pm into urpm/install.pm --- urpmi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'urpmi') diff --git a/urpmi b/urpmi index fb827a5f..f966401f 100755 --- a/urpmi +++ b/urpmi @@ -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( -- cgit v1.2.1