diff options
author | Michael Vogt <michael.vogt@ubuntu.com> | 2010-05-25 15:55:05 +0200 |
---|---|---|
committer | Michael Vogt <michael.vogt@ubuntu.com> | 2010-05-25 15:55:05 +0200 |
commit | ff371080d8672b94ef289f1162704e74959b4ddf (patch) | |
tree | ef1009f20f84b4d53a8f837f02411c7789b89fc4 /apt-pkg/policy.cc | |
parent | 921a3ce01c2595e9df9ff20bdd259e14733dcb16 (diff) | |
parent | 642ebc1a04c9c7915474c57f1143a9389ee6636a (diff) |
merged lp:~donkult/apt/sid
Diffstat (limited to 'apt-pkg/policy.cc')
-rw-r--r-- | apt-pkg/policy.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apt-pkg/policy.cc b/apt-pkg/policy.cc index 479cf3935..922efb0dd 100644 --- a/apt-pkg/policy.cc +++ b/apt-pkg/policy.cc @@ -291,9 +291,9 @@ bool ReadPinDir(pkgPolicy &Plcy,string Dir) if (Dir.empty() == true) Dir = _config->FindDir("Dir::Etc::PreferencesParts"); - if (FileExists(Dir) == false) + if (DirectoryExists(Dir) == false) { - _error->WarningE("FileExists",_("Unable to read %s"),Dir.c_str()); + _error->WarningE("DirectoryExists",_("Unable to read %s"),Dir.c_str()); return true; } |