- if pkgCacheFile::Generate is disabled in 'update' don't
remove the caches (and don't try to open them)
ListUpdate(Stat, *List);
// Rebuild the cache.
- pkgCacheFile::RemoveCaches();
- if (Cache.BuildCaches() == false)
- return false;
-
+ if (_config->FindB("pkgCacheFile::Generate", true) == true)
+ {
+ pkgCacheFile::RemoveCaches();
+ if (Cache.BuildCaches() == false)
+ return false;
+ }
+
return true;
}
/*}}}*/
+apt (0.9.1) unstable; urgency=low
+
+ [ David Kalnischkies ]
+ * cmdline/apt-get.cc:
+ - if pkgCacheFile::Generate is disabled in 'update' don't
+ remove the caches (and don't try to open them)
+
+ -- David Kalnischkies <kalnischkies@gmail.com> Mon, 16 Apr 2012 22:56:31 +0200
+
apt (0.9.0) unstable; urgency=low
* upload to debian/unstable