summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2005-09-27 23:47:01 +0000
committerMichael Vogt <michael.vogt@ubuntu.com>2005-09-27 23:47:01 +0000
commit422eeaaadf17904bf2f08cdf9e8998bec645097c (patch)
treea8a7705bca2d050860f312be2d0e4ae6395e675c
parent29998d34c434ba03fbe8e2dca0fd2f54b15da480 (diff)
* remvoed the remap feature again, dosn't work anyway
-rw-r--r--apt-pkg/deb/debindexfile.cc14
1 files changed, 3 insertions, 11 deletions
diff --git a/apt-pkg/deb/debindexfile.cc b/apt-pkg/deb/debindexfile.cc
index e2ed86890..38ecdd16a 100644
--- a/apt-pkg/deb/debindexfile.cc
+++ b/apt-pkg/deb/debindexfile.cc
@@ -338,23 +338,15 @@ inline string debTranslationsIndex::IndexFile(const char *Type) const
string debTranslationsIndex::IndexURI(const char *Type) const
{
string Res;
-
- string theURI = URI;
- // FIXME: EVIL! Remove as soon as pdiff support is offical
- string remap = _config->Find("DDTP::URL-Remap::"+URI,"");
- if(!remap.empty())
- theURI = remap;
-
-
if (Dist[Dist.size() - 1] == '/')
{
if (Dist != "/")
- Res = theURI + Dist;
+ Res = URI + Dist;
else
- Res = theURI;
+ Res = URI;
}
else
- Res = theURI + "dists/" + Dist + '/' + Section +
+ Res = URI + "dists/" + Dist + '/' + Section +
"/i18n/Translation-";
Res += Type;