summaryrefslogtreecommitdiff
path: root/apt-pkg/depcache.cc
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2005-06-30 13:34:32 +0000
committerMichael Vogt <michael.vogt@ubuntu.com>2005-06-30 13:34:32 +0000
commitf8ac1720a94468d1384e88a57729e6d9801b56fd (patch)
treeb5789f7a5762c3e73c2c5b422a92ba67de2a2d08 /apt-pkg/depcache.cc
parentfc5aece9d8600b68cf8d654b379b6d840f2a5524 (diff)
* slighly more debug output, renamed "--automatic-remove" to "--auto-remove"
Diffstat (limited to 'apt-pkg/depcache.cc')
-rw-r--r--apt-pkg/depcache.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/apt-pkg/depcache.cc b/apt-pkg/depcache.cc
index 81c79d812..9adc4e390 100644
--- a/apt-pkg/depcache.cc
+++ b/apt-pkg/depcache.cc
@@ -127,7 +127,7 @@ bool pkgDepCache::readStateFile(OpProgress *Prog)
if(!pkg.end() && !pkg.VersionList().end()) {
short reason = section.FindI("Auto-Installed", 0);
if(reason > 0)
- PkgState[pkg->ID].Flags |= pkgCache::Flag::Auto;
+ PkgState[pkg->ID].Flags |= Flag::Auto;
if(_config->FindB("Debug::pkgAutoRemove",false))
std::cout << "Auto-Installed : " << pkgname << std::endl;
amt+=section.size();
@@ -159,7 +159,7 @@ bool pkgDepCache::writeStateFile(OpProgress *prog)
std::ostringstream ostr;
for(pkgCache::PkgIterator pkg=Cache->PkgBegin(); !pkg.end();pkg++) {
- if(PkgState[pkg->ID].Flags & pkgCache::Flag::Auto) {
+ if(PkgState[pkg->ID].Flags & Flag::Auto) {
if(_config->FindB("Debug::pkgAutoRemove",false))
std::clog << "AutoInstal: " << pkg.Name() << std::endl;
ostr.str(string(""));