summaryrefslogtreecommitdiff
path: root/apt-pkg/depcache.cc
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2012-09-28 14:50:38 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2012-09-28 14:50:38 +0200
commit24fd9c0645b34ebb433588582d4e593cfcc5427a (patch)
treee91550ddf8b6791a8ea98fba57874f2e0d5a11b4 /apt-pkg/depcache.cc
parent6fdb6892cbc333b6be5ff6a3cc55879a17f78430 (diff)
parent173c98da4cfa28ccde70c4d503fcdf6230b9085f (diff)
merged from lp:~donkult/apt/sid
Diffstat (limited to 'apt-pkg/depcache.cc')
-rw-r--r--apt-pkg/depcache.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/depcache.cc b/apt-pkg/depcache.cc
index 2656e9b42..deb8ec21f 100644
--- a/apt-pkg/depcache.cc
+++ b/apt-pkg/depcache.cc
@@ -346,7 +346,7 @@ bool pkgDepCache::CheckDep(DepIterator Dep,int Type,PkgIterator &Res)
/* Check simple depends. A depends -should- never self match but
we allow it anyhow because dpkg does. Technically it is a packaging
bug. Conflicts may never self match */
- if (Dep.TargetPkg() != Dep.ParentPkg() || Dep.IsNegative() == false)
+ if (Dep.IsIgnorable(Res) == false)
{
PkgIterator Pkg = Dep.TargetPkg();
// Check the base package