aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake/pkg.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-02-20 11:42:08 +0000
committerThierry Vignaud <tv@mandriva.org>2007-02-20 11:42:08 +0000
commit78cad2cf6ec4bcfa82bc653f51102d8b28a84654 (patch)
tree2440bbc00aeb085e24afee92c02683baa539ccfb /Rpmdrake/pkg.pm
parentf827e051026e04bcc0a927a812ad517fcd99e55f (diff)
downloadrpmdrake-78cad2cf6ec4bcfa82bc653f51102d8b28a84654.tar
rpmdrake-78cad2cf6ec4bcfa82bc653f51102d8b28a84654.tar.gz
rpmdrake-78cad2cf6ec4bcfa82bc653f51102d8b28a84654.tar.bz2
rpmdrake-78cad2cf6ec4bcfa82bc653f51102d8b28a84654.tar.xz
rpmdrake-78cad2cf6ec4bcfa82bc653f51102d8b28a84654.zip
help perl_checker
Diffstat (limited to 'Rpmdrake/pkg.pm')
-rwxr-xr-xRpmdrake/pkg.pm5
1 files changed, 3 insertions, 2 deletions
diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm
index d99ee2bd..1d1cca5a 100755
--- a/Rpmdrake/pkg.pm
+++ b/Rpmdrake/pkg.pm
@@ -492,7 +492,8 @@ sub perform_installation { #- (partially) duplicated from /usr/sbin/urpmi :-(
Rpmdrake::gurpm::init(1 ? N("Please wait") : N("Package installation..."), N("Initializing..."), transient => $::w->{real_window});
my $distant_progress;
my $canceled;
- my %sources = $urpm->download_source_packages(
+ my %sources = urpm::download_source_packages(
+ $urpm,
$local_sources,
$list,
force_local => 1, # removed in urpmi 4.8.7
@@ -521,7 +522,7 @@ sub perform_installation { #- (partially) duplicated from /usr/sbin/urpmi :-(
$canceled and goto return_with_error;
Rpmdrake::gurpm::invalidate_cancel_forever();
- my %sources_install = %{$urpm->extract_packages_to_install(\%sources, $urpm->{rpmdrake_state}) || {}};
+ my %sources_install = %{urpm::extract_packages_to_install($urpm, \%sources, $urpm->{rpmdrake_state}) || {}};
my @rpms_install = grep { !/\.src\.rpm$/ } values %sources_install;
my @rpms_upgrade = grep { !/\.src\.rpm$/ } values %sources;