Fix greedy atoms logic for system mode. (trunk r7144)
authorZac Medico <zmedico@gentoo.org>
Wed, 4 Jul 2007 04:47:20 +0000 (04:47 -0000)
committerZac Medico <zmedico@gentoo.org>
Wed, 4 Jul 2007 04:47:20 +0000 (04:47 -0000)
svn path=/main/branches/2.1.2/; revision=7145

bin/emerge

index bb8f582c7060394aced8ad026c5d006a907328ef..d2421be26a676004f2ed8274cedb8f1dd9b56d7c 100755 (executable)
@@ -2418,7 +2418,7 @@ class depgraph:
                        mykey = portage.dep_getkey(atom)
                        if True:
                                newlist.append(atom)
-                               if mode == "world" and atom not in world_set:
+                               if mode == "system" or atom not in world_set:
                                        # only world is greedy for slots, not system
                                        continue
                                # Make sure all installed slots are updated when possible.