diff options
author | Thierry Vignaud <tv@mandriva.org> | 2007-02-20 11:42:08 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2007-02-20 11:42:08 +0000 |
commit | 78cad2cf6ec4bcfa82bc653f51102d8b28a84654 (patch) | |
tree | 2440bbc00aeb085e24afee92c02683baa539ccfb /Rpmdrake/pkg.pm | |
parent | f827e051026e04bcc0a927a812ad517fcd99e55f (diff) | |
download | rpmdrake-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-x | Rpmdrake/pkg.pm | 5 |
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; |