diff options
author | Michael Vogt <michael.vogt@ubuntu.com> | 2010-10-14 14:49:47 +0200 |
---|---|---|
committer | Michael Vogt <michael.vogt@ubuntu.com> | 2010-10-14 14:49:47 +0200 |
commit | 58d0598ad6f1c514bf7d89fdea676a697f0d9388 (patch) | |
tree | eade3a15056c5dd70ac0da1953186065c7441c7b /apt-pkg/pkgcache.cc | |
parent | 2c53e7d1a82e2bfe44151ac9d1ac2043fca09efa (diff) | |
parent | 44dc669e08353716da835608ea54563b4c8c32bb (diff) |
merged from the debian-sid branch
Diffstat (limited to 'apt-pkg/pkgcache.cc')
-rw-r--r-- | apt-pkg/pkgcache.cc | 1 |
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; |