summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-02-29 16:16:12 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-02-29 16:16:12 +0000
commit0525929f65bd633a8dbd14836a42669a80b09a7d (patch)
tree53a2f1ea261e4add68e51e06a6c9ca29c2b9ea76
parent2527faf1b685fb32715f7ee02c66d96d754d8052 (diff)
downloadurpmi-0525929f65bd633a8dbd14836a42669a80b09a7d.tar
urpmi-0525929f65bd633a8dbd14836a42669a80b09a7d.tar.gz
urpmi-0525929f65bd633a8dbd14836a42669a80b09a7d.tar.bz2
urpmi-0525929f65bd633a8dbd14836a42669a80b09a7d.tar.xz
urpmi-0525929f65bd633a8dbd14836a42669a80b09a7d.zip
kill deprecated download_source_packages
-rw-r--r--urpm.pm13
1 files changed, 0 insertions, 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)