summaryrefslogtreecommitdiff
path: root/apt-pkg/init.cc
diff options
context:
space:
mode:
authorIshan Jayawardena <udeshike@gmail.com>2011-07-08 21:09:25 +0530
committerIshan Jayawardena <udeshike@gmail.com>2011-07-08 21:09:25 +0530
commitad9364e4f0e8a65c2ae16fab9508485e5d915bd2 (patch)
tree3def3ae36d17d140b16614cc50f24f1b357b1d30 /apt-pkg/init.cc
parent1792371c2700e42a18c934a91442340c4fce7924 (diff)
added support for a 'debdelta' entry in the sources.list file and modified existing implementation of replacement rule.
Diffstat (limited to 'apt-pkg/init.cc')
-rw-r--r--apt-pkg/init.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/apt-pkg/init.cc b/apt-pkg/init.cc
index ef43c4415..55b6b64f4 100644
--- a/apt-pkg/init.cc
+++ b/apt-pkg/init.cc
@@ -41,7 +41,8 @@ bool pkgInitConfig(Configuration &Cnf)
Cnf.Set("Dir","/");
// Debdelta replacement rule
- Cnf.Set("Aquire::Debdelta::Replace-Rule::Replace-URI", "http://debdeltas.debian.net/debian-deltas/");
+ Cnf.Set("Aquire::Debdelta::Replace-Rule::Default", "http://debdeltas.debian.net/debian-deltas/");
+ Cnf.Set("Aquire::Debdelta::Replace-Rule::http://security.debian.org/", "http://debdeltas.debian.net/debian-security-deltas/");
// State
Cnf.Set("Dir::State","var/lib/apt/");