summaryrefslogtreecommitdiff
path: root/apt-pkg
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2005-08-30 00:31:06 +0000
committerMichael Vogt <michael.vogt@ubuntu.com>2005-08-30 00:31:06 +0000
commit8bbf85bf0561b8f2fad4bab82b230d4d5e13dd1f (patch)
treeca2e3066ed68080d93c6bd95f26ea5cec9710986 /apt-pkg
parentcffc2ddd412bb0af8e0fe716dacb2da07fe6ddbc (diff)
* be less verbose and call the Url-Remap: APT::URL-Remap
Diffstat (limited to 'apt-pkg')
-rw-r--r--apt-pkg/deb/debindexfile.cc8
1 files changed, 2 insertions, 6 deletions
diff --git a/apt-pkg/deb/debindexfile.cc b/apt-pkg/deb/debindexfile.cc
index 3ceeffdca..b3b77dad7 100644
--- a/apt-pkg/deb/debindexfile.cc
+++ b/apt-pkg/deb/debindexfile.cc
@@ -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;
}