]> git.saurik.com Git - apt.git/commitdiff
* be less verbose and call the Url-Remap: APT::URL-Remap
authorMichael Vogt <michael.vogt@ubuntu.com>
Tue, 30 Aug 2005 00:31:06 +0000 (00:31 +0000)
committerMichael Vogt <michael.vogt@ubuntu.com>
Tue, 30 Aug 2005 00:31:06 +0000 (00:31 +0000)
apt-pkg/deb/debindexfile.cc

index 3ceeffdcae5193491ceb1a6fb72ba06dcac41c9c..b3b77dad71e1021e62e5774191984e9ea5f203a5 100644 (file)
@@ -161,14 +161,10 @@ 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,"");
+   // FIXME: EVIL! Remove as soon as pdiff support is offical
+   string remap = _config->Find("APT::URL-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;
 }