HCoop
/
ntk
/
apt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
award points for positive dependencies again
[ntk/apt.git]
/
apt-pkg
/
algorithms.cc
diff --git
a/apt-pkg/algorithms.cc
b/apt-pkg/algorithms.cc
index
608ec7f
..
b838310
100644
(file)
--- a/
apt-pkg/algorithms.cc
+++ b/
apt-pkg/algorithms.cc
@@
-468,7
+468,7
@@
void pkgProblemResolver::MakeScores()
if (D->Version != 0)
{
pkgCache::VerIterator const IV = Cache[T].InstVerIter(Cache);
- if (IV.end() == true || D.IsSatisfied(IV)
!= D.IsNegative()
)
+ if (IV.end() == true || D.IsSatisfied(IV)
== false
)
continue;
}
Scores[T->ID] += DepMap[D->Type];