From 0525929f65bd633a8dbd14836a42669a80b09a7d Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Fri, 29 Feb 2008 16:16:12 +0000 Subject: kill deprecated download_source_packages --- urpm.pm | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/urpm.pm b/urpm.pm index d9b02be4..74398558 100644 --- a/urpm.pm +++ b/urpm.pm @@ -307,19 +307,6 @@ sub is_delta_installable { $v_match eq $v_installed; } -#- Obsolescent method. -sub download_source_packages { - my ($urpm, $local_sources, $list, %options) = @_; - my %sources = %$local_sources; - my %error_sources; - - require urpm::get_pkgs; - urpm::removable::copy_packages_of_removable_media($urpm, $list, \%sources, $options{ask_for_medium}) or return; - urpm::get_pkgs::download_packages_of_distant_media($urpm, $list, \%sources, \%error_sources, %options); - - %sources, %error_sources; -} - #- extract package that should be installed instead of upgraded, #- installing instead of upgrading is useful #- - for inst.list (cf flag disable_obsolete) -- cgit v1.2.1