diff options
author | Michael Vogt <michael.vogt@ubuntu.com> | 2010-10-13 14:08:52 +0200 |
---|---|---|
committer | Michael Vogt <michael.vogt@ubuntu.com> | 2010-10-13 14:08:52 +0200 |
commit | c988fe215ba08bd2163024d9b1d27b76a9c59696 (patch) | |
tree | 46567756f733398d6a6ebba5b919b1e984a043b5 | |
parent | 4b2a4ab8abb9f9b6ce262882480eee945a041d14 (diff) | |
download | apt-c988fe215ba08bd2163024d9b1d27b76a9c59696.tar.gz |
* revert commit:
* apt-pkg/deb/debsystem.cc:
- set dir::state::status based at least on dir
This causes problems with alternative rootdirs
-rw-r--r-- | apt-pkg/deb/debsystem.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/deb/debsystem.cc b/apt-pkg/deb/debsystem.cc index ab08a8f4..7056d771 100644 --- a/apt-pkg/deb/debsystem.cc +++ b/apt-pkg/deb/debsystem.cc @@ -165,7 +165,7 @@ bool debSystem::Initialize(Configuration &Cnf) 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::status","/var/lib/dpkg/status"); Cnf.CndSet("Dir::Bin::dpkg","/usr/bin/dpkg"); if (StatusFile) { |