]> git.saurik.com Git - apt.git/blobdiff - cmdline/apt-cache.cc
* apt-pkg/contrib/error.{cc,h}:
[apt.git] / cmdline / apt-cache.cc
index a5b3141d7e1f8093eceff0d100ea26323c0e1db2..c790559e72a9ddd842edf5094513c093839522ee 100644 (file)
@@ -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);