X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/6040f5893a85c0206d3fd234c46a608b87a5e9ac..9a9665f96e006602950e0e32ce80cb5ee14f5e5f:/apt-pkg/deb/debindexfile.cc diff --git a/apt-pkg/deb/debindexfile.cc b/apt-pkg/deb/debindexfile.cc index 3ceeffdca..ff8bce85d 100644 --- a/apt-pkg/deb/debindexfile.cc +++ b/apt-pkg/deb/debindexfile.cc @@ -158,21 +158,6 @@ debPackagesIndex::debPackagesIndex(string URI,string Dist,string Section,bool Tr { } /*}}}*/ - -string debPackagesIndex::ArchiveURI(string File) const -{ - // FIXME: Remove as soon as pdiff support is offical - string remap = _config->Find("APT::Diffs::Remap::"+URI,""); - if(!remap.empty()) - { - std::cout << "doing a evil remapping to the URI as requested!\n"; - std::cout << URI << " -> " << remap << std::endl; - 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 */