summaryrefslogtreecommitdiff
path: root/apt-pkg/cachefile.cc
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2004-09-20 16:53:36 +0000
committerArch Librarian <arch@canonical.com>2004-09-20 16:53:36 +0000
commit803fafcbaa2fe4e1c49249e589d50f892b1b2424 (patch)
tree5daec4a662bddc88a2e5410ee7b8a7839495a2b4 /apt-pkg/cachefile.cc
parentb80d5b89446d8d4818a07690c395d1d20b82ba7f (diff)
Made apt-cache regenerate its cache in memory
Author: jgg Date: 1999-04-19 02:35:38 GMT Made apt-cache regenerate its cache in memory
Diffstat (limited to 'apt-pkg/cachefile.cc')
-rw-r--r--apt-pkg/cachefile.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/apt-pkg/cachefile.cc b/apt-pkg/cachefile.cc
index 285eb310f..88c3fa81a 100644
--- a/apt-pkg/cachefile.cc
+++ b/apt-pkg/cachefile.cc
@@ -1,6 +1,6 @@
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: cachefile.cc,v 1.1 1999/04/18 06:36:36 jgg Exp $
+// $Id: cachefile.cc,v 1.2 1999/04/19 02:35:38 jgg Exp $
/* ######################################################################
CacheFile - Simple wrapper class for opening, generating and whatnot
@@ -86,10 +86,9 @@ bool pkgCacheFile::Open(OpProgress &Progress,bool WithLock)
// Create the dependency cache
Cache = new pkgDepCache(*Map,Progress);
+ Progress.Done();
if (_error->PendingError() == true)
return false;
-
- Progress.Done();
return true;
}