summaryrefslogtreecommitdiff
path: root/apt-pkg/pkgcache.cc
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2010-09-15 19:56:50 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2010-09-15 19:56:50 +0200
commit3b3a681c79d3e5c32fcd6ccb87e74e5ca6e234b4 (patch)
tree325ff730ac56ff7313f4044d2406f47600d27b35 /apt-pkg/pkgcache.cc
parent8877870768f3525ae72dc13a438100e90260f4e2 (diff)
parent58d9e6e0f9bf93724637c8a5687fe22058fc75a1 (diff)
merged lp:~donkult/apt/sid
Diffstat (limited to 'apt-pkg/pkgcache.cc')
-rw-r--r--apt-pkg/pkgcache.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/apt-pkg/pkgcache.cc b/apt-pkg/pkgcache.cc
index a66a5198d..324445fa7 100644
--- a/apt-pkg/pkgcache.cc
+++ b/apt-pkg/pkgcache.cc
@@ -731,6 +731,7 @@ bool pkgCache::VerIterator::Automatic() const
{
VerFileIterator Files = FileList();
for (; Files.end() == false; Files++)
+ // Do not check ButAutomaticUpgrades here as it is kind of automatic…
if ((Files.File()->Flags & pkgCache::Flag::NotAutomatic) != pkgCache::Flag::NotAutomatic)
return true;
return false;