From: David Kalnischkies Date: Sat, 26 Jun 2010 17:22:23 +0000 (+0200) Subject: give the APT::Cache::Generate option her effect back X-Git-Tag: 0.8.0~9^2~22^2~20 X-Git-Url: https://git.saurik.com/apt.git/commitdiff_plain/320352e00477f3b0cfd12efd736bd08c7908fecc give the APT::Cache::Generate option her effect back --- diff --git a/cmdline/apt-cache.cc b/cmdline/apt-cache.cc index a5b3141d7..c790559e7 100644 --- a/cmdline/apt-cache.cc +++ b/cmdline/apt-cache.cc @@ -1871,7 +1871,9 @@ int main(int argc,const char *argv[]) /*{{{*/ if (!isatty(STDOUT_FILENO) && _config->FindI("quiet", -1) == -1) _config->Set("quiet","1"); -// if (_config->FindB("APT::Cache::Generate",true) == false) + if (_config->Exists("APT::Cache::Generate") == true) + _config->Set("pkgCacheFile::Generate", _config->FindB("APT::Cache::Generate", true)); + if (CmdL.DispatchArg(CmdsA,false) == false && _error->PendingError() == false) CmdL.DispatchArg(CmdsB);