diff options
author | Michael Vogt <mvo@debian.org> | 2011-02-08 10:35:39 +0100 |
---|---|---|
committer | Michael Vogt <mvo@debian.org> | 2011-02-08 10:35:39 +0100 |
commit | 33e46bc7032c2bcab654ab3f6a0a10ad82264ead (patch) | |
tree | b0117e8152475b94551bfe993460be64fcf3343b /apt-pkg/depcache.cc | |
parent | 09b8bd3226a68272f98e4020d10348ff26642500 (diff) | |
parent | 7376837d338fd9399cfa4820b6f9bacbb2634d46 (diff) |
merged lp:~donkult/apt/sid
Diffstat (limited to 'apt-pkg/depcache.cc')
-rw-r--r-- | apt-pkg/depcache.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/depcache.cc b/apt-pkg/depcache.cc index 5f59b6d49..7c09d3a38 100644 --- a/apt-pkg/depcache.cc +++ b/apt-pkg/depcache.cc @@ -339,7 +339,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()->Group != Dep.ParentPkg()->Group || + if (Dep.TargetPkg() != Dep.ParentPkg() || (Dep->Type != Dep::Conflicts && Dep->Type != Dep::DpkgBreaks && Dep->Type != Dep::Obsoletes)) { PkgIterator Pkg = Dep.TargetPkg(); |