diff options
author | Michael Vogt <mvo@debian.org> | 2010-10-13 14:18:18 +0200 |
---|---|---|
committer | Michael Vogt <mvo@debian.org> | 2010-10-13 14:18:18 +0200 |
commit | ea38b1e608db857d4845b7bf6275b2df1fb8c9e7 (patch) | |
tree | ac8b381ad5b0ea26733600bb22d5e20aebbaa84c /apt-pkg/deb/debsystem.cc | |
parent | 0497fc4c09c434ea34aa4dbfe773451d9a7082d6 (diff) | |
parent | 940ff5d6b5634b57c2e622b5295f499a7807f3de (diff) |
* apt-pkg/deb/debsystem.cc:
- fix issues with dir::state::status and dir::state::extended_states
when alternative rootdirs are used
Diffstat (limited to 'apt-pkg/deb/debsystem.cc')
-rw-r--r-- | apt-pkg/deb/debsystem.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apt-pkg/deb/debsystem.cc b/apt-pkg/deb/debsystem.cc index ab08a8f4d..8619822df 100644 --- a/apt-pkg/deb/debsystem.cc +++ b/apt-pkg/deb/debsystem.cc @@ -164,8 +164,8 @@ bool debSystem::Initialize(Configuration &Cnf) /* These really should be jammed into a generic 'Local Database' engine which is yet to be determined. The functions in pkgcachegen should be the only users of these */ - Cnf.CndSet("Dir::State::extended_states", Cnf.FindDir("Dir::State").append("extended_states")); - Cnf.CndSet("Dir::State::status", Cnf.FindDir("Dir", "/").append("var/lib/dpkg/status")); + Cnf.CndSet("Dir::State::extended_states", "extended_states"); + Cnf.CndSet("Dir::State::status","/var/lib/dpkg/status"); Cnf.CndSet("Dir::Bin::dpkg","/usr/bin/dpkg"); if (StatusFile) { |