summaryrefslogtreecommitdiff
path: root/apt-pkg/deb/debindexfile.cc
diff options
context:
space:
mode:
authorIshan Jayawardena <udeshike@gmail.com>2011-06-25 19:31:30 +0530
committerIshan Jayawardena <udeshike@gmail.com>2011-06-25 19:31:30 +0530
commit1792371c2700e42a18c934a91442340c4fce7924 (patch)
tree9578dd3d2a6707110dffaba793fc8740afd78c38 /apt-pkg/deb/debindexfile.cc
parent5da0f9fd194b76fd82482fbe533d963fc87f315d (diff)
Added the replacement rule for replacing regular URIs with that of debdelta repo.
Diffstat (limited to 'apt-pkg/deb/debindexfile.cc')
-rw-r--r--apt-pkg/deb/debindexfile.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/apt-pkg/deb/debindexfile.cc b/apt-pkg/deb/debindexfile.cc
index 1e8c04033..4c8a6719d 100644
--- a/apt-pkg/deb/debindexfile.cc
+++ b/apt-pkg/deb/debindexfile.cc
@@ -178,6 +178,8 @@ debPackagesIndex::debPackagesIndex(string const &URI, string const &Dist, string
{
if (Architecture == "native")
Architecture = _config->Find("APT::Architecture");
+ _config->Set("Aquire::Debdelta::Replace-Rule::URI-Space::"+URI,
+ _config->Find("Aquire::Debdelta::Replace-Rule::Replace-URI"));
}
/*}}}*/
// PackagesIndex::ArchiveInfo - Short version of the archive url /*{{{*/