// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: apt-cache.cc,v 1.14 1998/12/04 22:56:53 jgg Exp $
+// $Id: apt-cache.cc,v 1.15 1998/12/06 06:22:58 jgg Exp $
/* ######################################################################
apt-cache - Manages the cache files
/* */
bool UnMet(pkgCache &Cache)
{
- bool Important = _config->FindB("Important",false);
+ bool Important = _config->FindB("APT::Cache::Important",false);
for (pkgCache::PkgIterator P = Cache.PkgBegin(); P.end() == false; P++)
{
{'p',"pkg-cache","Dir::Cache::pkgcache",CommandLine::HasArg},
{'s',"src-cache","Dir::Cache::srcpkgcache",CommandLine::HasArg},
{'q',"quiet","quiet",CommandLine::IntLevel},
- {'i',"important","Important",0},
+ {'i',"important","APT::Cache::Important",0},
{'c',"config-file",0,CommandLine::ConfigFile},
{'o',"option",0,CommandLine::ArbItem},
{0,0,0,0}};
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: apt-get.cc,v 1.25 1998/12/06 06:22:01 jgg Exp $
+// $Id: apt-get.cc,v 1.26 1998/12/06 06:22:59 jgg Exp $
/* ######################################################################
apt-get - Cover for dpkg
pkgCache::DepIterator Start;
pkgCache::DepIterator End;
D.GlobOr(Start,End);
-
+
if (Cache.IsImportantDep(End) == false ||
(Cache[End] & pkgDepCache::DepGInstall) == pkgDepCache::DepGInstall)
continue;