diff options
author | Julian Andres Klode <jak@debian.org> | 2009-07-06 17:09:08 +0200 |
---|---|---|
committer | Julian Andres Klode <jak@debian.org> | 2009-07-06 17:09:08 +0200 |
commit | 13aa7588f24c4bc60c865071361d7be6e20c7086 (patch) | |
tree | 950ce0071a391a46f941d4b414bd929b1763e3f9 /apt-pkg/cachefile.cc | |
parent | 5541fea3f0c6b4b40048c161b9201b03243ac3a9 (diff) | |
parent | e68ca100711326895126dc1fca86a2124a8e8d63 (diff) |
Support /etc/apt/preferences.d, by adding ReadPinDir() (Closes: #535512)
Diffstat (limited to 'apt-pkg/cachefile.cc')
-rw-r--r-- | apt-pkg/cachefile.cc | 2 |
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 |