diff options
author | Michael Vogt <mvo@debian.org> | 2011-02-01 15:51:29 +0100 |
---|---|---|
committer | Michael Vogt <mvo@debian.org> | 2011-02-01 15:51:29 +0100 |
commit | 710aba4a9c0edd415e5daabb497ee8fffe803a96 (patch) | |
tree | 67afe35cc291548d7a636cc00c7375c7b2fb51b4 /apt-pkg/init.cc | |
parent | c3a3640cabcc64a7479fadd96b2f2af255d721c9 (diff) |
* apt-pkg/cdrom.cc, apt-pkg/init.cc, methods/cdrom.cc:
- use /media/cdrom as default mountoint (closes: #611569)
Diffstat (limited to 'apt-pkg/init.cc')
-rw-r--r-- | apt-pkg/init.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/apt-pkg/init.cc b/apt-pkg/init.cc index f0bad78df..184942321 100644 --- a/apt-pkg/init.cc +++ b/apt-pkg/init.cc @@ -52,7 +52,7 @@ bool pkgInitConfig(Configuration &Cnf) Cnf.Set("Dir::State::lists","lists/"); Cnf.Set("Dir::State::cdroms","cdroms.list"); Cnf.Set("Dir::State::mirrors","mirrors/"); - + // Cache Cnf.Set("Dir::Cache","var/cache/apt/"); Cnf.Set("Dir::Cache::archives","archives/"); @@ -88,6 +88,9 @@ bool pkgInitConfig(Configuration &Cnf) // Translation Cnf.Set("APT::Acquire::Translation", "environment"); + // Default cdrom mount point + Cnf.Set("Acquire::cdrom::mount", "/media/cdrom/"); + bool Res = true; // Read an alternate config file |