summaryrefslogtreecommitdiff
path: root/apt-pkg/cachefile.cc
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2009-07-06 15:46:54 +0200
committerJulian Andres Klode <jak@debian.org>2009-07-06 15:46:54 +0200
commite68ca100711326895126dc1fca86a2124a8e8d63 (patch)
tree9fa5b9d921a3bef04bbdd134f30b9bda219cfc57 /apt-pkg/cachefile.cc
parent00aeebe8d2754ebcd5ca6ba82e6c553e5a5ae5a3 (diff)
Support /etc/apt/preferences.d (Closes: #535512)
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 1a84aea54..5b5e26497 100644
--- a/apt-pkg/cachefile.cc
+++ b/apt-pkg/cachefile.cc
@@ -92,7 +92,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