Просмотр исходного кода

Try to use NotEquals for the MultiArch Breaks dependencies instead of
Less and Greater -> half the dependencies :)

David Kalnischkies лет назад: 16
Родитель
Сommit
3b5272950a
1 измененных файлов с 1 добавлено и 4 удалено
  1. 1 4
      apt-pkg/pkgcachegen.cc

+ 1 - 4
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)
 		     {