]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/deb/debindexfile.cc
* merged from main
[apt.git] / apt-pkg / deb / debindexfile.cc
index b3b77dad71e1021e62e5774191984e9ea5f203a5..ff8bce85d1f036c260c53af050f061df22bb3188 100644 (file)
@@ -158,17 +158,6 @@ debPackagesIndex::debPackagesIndex(string URI,string Dist,string Section,bool Tr
 {
 }
                                                                        /*}}}*/
-
-string debPackagesIndex::ArchiveURI(string File) const
-{
-   // FIXME: EVIL! Remove as soon as pdiff support is offical
-   string remap = _config->Find("APT::URL-Remap::"+URI,"");
-   if(!remap.empty())
-      return remap+File;
-
-   return URI + File;
-}
-
 // PackagesIndex::ArchiveInfo - Short version of the archive url       /*{{{*/
 // ---------------------------------------------------------------------
 /* This is a shorter version that is designed to be < 60 chars or so */