aboutsummaryrefslogtreecommitdiff
path: root/paludis/resolver/decider.cc
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/resolver/decider.cc')
-rw-r--r--paludis/resolver/decider.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/paludis/resolver/decider.cc b/paludis/resolver/decider.cc
index 896496377..1920c6e28 100644
--- a/paludis/resolver/decider.cc
+++ b/paludis/resolver/decider.cc
@@ -548,7 +548,7 @@ Decider::_find_replacing(
for (PackageIDSequence::ConstIterator i(ids->begin()), i_end(ids->end()) ;
i != i_end ; ++i)
{
- if ((*i)->version() == id->version() || _same_slot(*i, id))
+ if ((*i)->version() == id->version() || (_same_slot(*i, id) && repo->installed_root_key()))
result->push_back(*i);
}
}