summaryrefslogtreecommitdiff
path: root/apt-pkg/init.cc
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2004-09-20 16:51:06 +0000
committerArch Librarian <arch@canonical.com>2004-09-20 16:51:06 +0000
commit3b5421b4c75f5c85b48cbb61bf22642ff52a6352 (patch)
tree1c2b393ca91c645c2b324eb20bf9c5492dbd1519 /apt-pkg/init.cc
parent303a1703ca47c78f2b5ff6887ba6a10907465874 (diff)
Start on acquire stuff
Author: jgg Date: 1998-10-20 02:39:12 GMT Start on acquire stuff
Diffstat (limited to 'apt-pkg/init.cc')
-rw-r--r--apt-pkg/init.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/apt-pkg/init.cc b/apt-pkg/init.cc
index c8b35de17..645d64d30 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.7 1998/10/09 19:57:21 jgg Exp $
+// $Id: init.cc,v 1.8 1998/10/20 02:39:19 jgg Exp $
/* ######################################################################
Init - Initialize the package library
@@ -47,7 +47,7 @@ bool pkgInitialize(Configuration &Cnf)
Cnf.Set("Dir::Etc::main","apt.conf");
// Read the main config file
- string FName = Cnf.FindDir("Dir::Etc::main");
+ string FName = Cnf.FindFile("Dir::Etc::main");
struct stat Buf;
if (stat(FName.c_str(),&Buf) != 0)
return true;