summaryrefslogtreecommitdiff
path: root/apt-pkg/init.cc
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2004-09-20 16:50:54 +0000
committerArch Librarian <arch@canonical.com>2004-09-20 16:50:54 +0000
commitb35d2f5fa0e797bf7062a1a7448a5d54bb396071 (patch)
treef87dc91079639f2a250b8901265ef35e4517cf5a /apt-pkg/init.cc
parentf1148902de0b269467d445554f5d860513e39871 (diff)
Progress and combined cache generator
Author: jgg Date: 1998-07-26 04:49:26 GMT Progress and combined cache generator
Diffstat (limited to 'apt-pkg/init.cc')
-rw-r--r--apt-pkg/init.cc13
1 files changed, 9 insertions, 4 deletions
diff --git a/apt-pkg/init.cc b/apt-pkg/init.cc
index 63e808118..f8cf54ee4 100644
--- a/apt-pkg/init.cc
+++ b/apt-pkg/init.cc
@@ -1,6 +1,6 @@
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: init.cc,v 1.3 1998/07/16 06:08:36 jgg Exp $
+// $Id: init.cc,v 1.4 1998/07/26 04:49:26 jgg Exp $
/* ######################################################################
Init - Initialize the package library
@@ -24,14 +24,19 @@ bool pkgInitialize(Configuration &Cnf)
// State
Cnf.Set("Dir::State","/var/state/apt/");
Cnf.Set("Dir::State::lists","lists/");
+
+ /* These really should be jammed into a generic 'Local Database' engine
+ which is yet to be determined. The functions in pkgcachegen should
+ be the only users of these */
Cnf.Set("Dir::State::xstatus","xstatus");
- Cnf.Set("Dir::State::userstatus","status.user");
+ Cnf.Set("Dir::State::userstatus","status.user");
+ Cnf.Set("Dir::State::status","/var/lib/dpkg/status");
// Cache
- Cnf.Set("Dir::Cache","/etc/apt/");
+ Cnf.Set("Dir::Cache","/tmp/");
Cnf.Set("Dir::Cache::archives","archives/");
Cnf.Set("Dir::Cache::srcpkgcache","srcpkgcache");
- Cnf.Set("Dir::Cache::pkhcache","pkgcache");
+ Cnf.Set("Dir::Cache::pkgcache","pkgcache");
// Configuration
Cnf.Set("Dir::Etc","/etc/apt/");