summaryrefslogtreecommitdiff
path: root/apt-pkg/pkgcachegen.cc
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2010-07-05 11:42:57 +0200
committerDavid Kalnischkies <kalnischkies@gmail.com>2010-07-05 11:42:57 +0200
commit3b5272950a1ac62178f7b8a0144c4c52e194be40 (patch)
tree8f63b615021cab468487f84d54d32f51c485081a /apt-pkg/pkgcachegen.cc
parent6806db8ac030ab7401b7b8b8324c62bb7b4a0275 (diff)
downloadapt-3b5272950a1ac62178f7b8a0144c4c52e194be40.tar.gz
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.cc5
1 files changed, 1 insertions, 4 deletions
diff --git a/apt-pkg/pkgcachegen.cc b/apt-pkg/pkgcachegen.cc
index 5649cd6f..05c01494 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)
{