]>
git.saurik.com Git - apt-legacy.git/blob - apt-inst/database.cc
1 // -*- mode: cpp; mode: fold -*-
3 // $Id: database.cc,v 1.2 2001/02/20 07:03:16 jgg Exp $
4 /* ######################################################################
8 ##################################################################### */
10 // Include Files /*{{{*/
11 #include <apt-pkg/database.h>
14 // DataBase::GetMetaTmp - Get the temp dir /*{{{*/
15 // ---------------------------------------------------------------------
16 /* This re-initializes the meta temporary directory if it hasn't yet
17 been inited for this cycle. The flag is the emptyness of MetaDir */
18 bool pkgDataBase::GetMetaTmp(string
&Dir
)
20 if (MetaDir
.empty() == true)
21 if (InitMetaTmp(MetaDir
) == false)