summaryrefslogtreecommitdiff
path: root/apt-pkg/cachefile.cc
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2009-07-15 16:45:49 +0200
committerDavid Kalnischkies <kalnischkies@gmail.com>2009-07-15 16:45:49 +0200
commitef1dff93202fa61e0b8cda761906bbca31e217bc (patch)
tree860a9c6462a2ea9ef09c01de9a10ee19a4944c78 /apt-pkg/cachefile.cc
parent13eb93fcb6a03afd8fc05fa2b4c60046473e8507 (diff)
parent6e7c6c3f58193fd5db3d9d598ac65a1571522a58 (diff)
merge with lp:~mvo/apt/debian-sid
Diffstat (limited to 'apt-pkg/cachefile.cc')
-rw-r--r--apt-pkg/cachefile.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/cachefile.cc b/apt-pkg/cachefile.cc
index f287a244c..0b1efb9ff 100644
--- a/apt-pkg/cachefile.cc
+++ b/apt-pkg/cachefile.cc
@@ -91,7 +91,7 @@ bool pkgCacheFile::Open(OpProgress &Progress,bool WithLock)
Policy = new pkgPolicy(Cache);
if (_error->PendingError() == true)
return false;
- if (ReadPinFile(*Policy) == false)
+ if (ReadPinFile(*Policy) == false || ReadPinDir(*Policy) == false)
return false;
// Create the dependency cache