]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/policy.cc
implement autobit and pinning in EDSP solver 'apt'
[apt.git] / apt-pkg / policy.cc
index a1e903178a65ea831df6aae9d3901be4958765ec..8441bc46516c617ce824d88348d2ea9acc9dcc23 100644 (file)
@@ -409,7 +409,8 @@ bool ReadPinDir(pkgPolicy &Plcy,string Dir)
 
    if (DirectoryExists(Dir) == false)
    {
-      _error->WarningE("DirectoryExists",_("Unable to read %s"),Dir.c_str());
+      if (Dir != "/dev/null")
+        _error->WarningE("DirectoryExists",_("Unable to read %s"),Dir.c_str());
       return true;
    }