diff options
author | Julian Andres Klode <jak@debian.org> | 2009-07-06 15:46:54 +0200 |
---|---|---|
committer | Julian Andres Klode <jak@debian.org> | 2009-07-06 15:46:54 +0200 |
commit | e68ca100711326895126dc1fca86a2124a8e8d63 (patch) | |
tree | 9fa5b9d921a3bef04bbdd134f30b9bda219cfc57 /cmdline | |
parent | 00aeebe8d2754ebcd5ca6ba82e6c553e5a5ae5a3 (diff) |
Support /etc/apt/preferences.d (Closes: #535512)
Diffstat (limited to 'cmdline')
-rw-r--r-- | cmdline/apt-cache.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmdline/apt-cache.cc b/cmdline/apt-cache.cc index 4431fd4f9..acef8dc5e 100644 --- a/cmdline/apt-cache.cc +++ b/cmdline/apt-cache.cc @@ -401,7 +401,7 @@ bool DumpAvail(CommandLine &Cmd) pkgCache &Cache = *GCache; pkgPolicy Plcy(&Cache); - if (ReadPinFile(Plcy) == false) + if (ReadPinFile(Plcy) == false || ReadPinDir(Plcy) == false) return false; unsigned long Count = Cache.HeaderP->PackageCount+1; @@ -1515,7 +1515,7 @@ bool Policy(CommandLine &CmdL) pkgCache &Cache = *GCache; pkgPolicy Plcy(&Cache); - if (ReadPinFile(Plcy) == false) + if (ReadPinFile(Plcy) == false || ReadPinDir(Plcy) == false) return false; // Print out all of the package files |