summaryrefslogtreecommitdiffstats
path: root/urpm.pm
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2004-11-05 14:58:49 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2004-11-05 14:58:49 +0000
commitf4d1eb8ea280b03fb7ca1ac28600d0be49dc74b9 (patch)
treeccdb95fe07fb9854b184180ffd7636fdd93158ae /urpm.pm
parentf2ba0deb142c62150a7e5949dce52997d11c4279 (diff)
downloadurpmi-f4d1eb8ea280b03fb7ca1ac28600d0be49dc74b9.tar
urpmi-f4d1eb8ea280b03fb7ca1ac28600d0be49dc74b9.tar.gz
urpmi-f4d1eb8ea280b03fb7ca1ac28600d0be49dc74b9.tar.bz2
urpmi-f4d1eb8ea280b03fb7ca1ac28600d0be49dc74b9.tar.xz
urpmi-f4d1eb8ea280b03fb7ca1ac28600d0be49dc74b9.zip
Remove obsolete code
Diffstat (limited to 'urpm.pm')
-rw-r--r--urpm.pm13
1 files changed, 0 insertions, 13 deletions
diff --git a/urpm.pm b/urpm.pm
index d93b90d8..35ca93c9 100644
--- a/urpm.pm
+++ b/urpm.pm
@@ -1976,18 +1976,6 @@ sub try_umounting_removables {
delete $urpm->{removable_mounted};
}
-#- relocate depslist array id to use only the most recent packages,
-#- reorder info hashes to give only access to best packages.
-sub relocate_depslist_provides {
- my ($urpm, %options) = @_;
- my $relocated_entries = $urpm->relocate_depslist;
-
- $urpm->{log}($relocated_entries ?
- N("relocated %s entries in depslist", $relocated_entries) :
- N("no entries relocated in depslist"));
- $relocated_entries;
-}
-
#- register local packages for being installed, keep track of source.
sub register_rpms {
my ($urpm, @files) = @_;
@@ -3233,7 +3221,6 @@ urpm - Mandrakesoft perl tools to handle the urpmi database
if (@files) {
push @names, $urpm->register_rpms(@files);
}
- $urpm->relocate_depslist_provides();
my %packages;
@names and $urpm->search_packages(\%packages, [ @names],