diff options
author | David Kalnischkies <kalnischkies@gmail.com> | 2010-09-06 14:10:26 +0200 |
---|---|---|
committer | David Kalnischkies <kalnischkies@gmail.com> | 2010-09-06 14:10:26 +0200 |
commit | 7753e4684e2b80abbed296b90f47be12b4fce8fc (patch) | |
tree | 64d1d032e4845e1870593d4c588a79c7e272bc9a /apt-pkg/deb | |
parent | cf1cdb3328dacde829db8bbb3db4f5373ac07d61 (diff) |
rename the newly public CheckDirectory method to CreateAPTDirectoryIfNeeded
to give a better indication what this method will do if called.
Diffstat (limited to 'apt-pkg/deb')
-rw-r--r-- | apt-pkg/deb/dpkgpm.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/deb/dpkgpm.cc b/apt-pkg/deb/dpkgpm.cc index d3c432ce1..395c3fb1a 100644 --- a/apt-pkg/deb/dpkgpm.cc +++ b/apt-pkg/deb/dpkgpm.cc @@ -641,7 +641,7 @@ void pkgDPkgPM::WriteHistoryTag(string const &tag, string value) bool pkgDPkgPM::OpenLog() { string const logdir = _config->FindDir("Dir::Log"); - if(CheckDirectory(logdir, logdir) == false) + if(CreateAPTDirectoryIfNeeded(logdir, logdir) == false) // FIXME: use a better string after freeze return _error->Error(_("Directory '%s' missing"), logdir.c_str()); |