diff options
author | David Kalnischkies <kalnischkies@gmail.com> | 2010-07-05 11:42:57 +0200 |
---|---|---|
committer | David Kalnischkies <kalnischkies@gmail.com> | 2010-07-05 11:42:57 +0200 |
commit | 3b5272950a1ac62178f7b8a0144c4c52e194be40 (patch) | |
tree | 8f63b615021cab468487f84d54d32f51c485081a /apt-pkg/pkgcachegen.cc | |
parent | 6806db8ac030ab7401b7b8b8324c62bb7b4a0275 (diff) |
Try to use NotEquals for the MultiArch Breaks dependencies instead of
Less and Greater -> half the dependencies :)
Diffstat (limited to 'apt-pkg/pkgcachegen.cc')
-rw-r--r-- | apt-pkg/pkgcachegen.cc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/apt-pkg/pkgcachegen.cc b/apt-pkg/pkgcachegen.cc index 5649cd6f8..05c01494b 100644 --- a/apt-pkg/pkgcachegen.cc +++ b/apt-pkg/pkgcachegen.cc @@ -572,10 +572,7 @@ bool pkgCacheGenerator::FinishCache(OpProgress *Progress) OldDepLast); // Breaks: ${self}:other (!= ${binary:Version}) NewDepends(D, V, V.VerStr(), - pkgCache::Dep::Less, pkgCache::Dep::DpkgBreaks, - OldDepLast); - NewDepends(D, V, V.VerStr(), - pkgCache::Dep::Greater, pkgCache::Dep::DpkgBreaks, + pkgCache::Dep::NotEquals, pkgCache::Dep::DpkgBreaks, OldDepLast); if (V->MultiArch == pkgCache::Version::All) { |