Never uninstall sys-apps/portage except through replacement. (trunk r10003)
authorZac Medico <zmedico@gentoo.org>
Sun, 27 Apr 2008 20:16:52 +0000 (20:16 -0000)
committerZac Medico <zmedico@gentoo.org>
Sun, 27 Apr 2008 20:16:52 +0000 (20:16 -0000)
svn path=/main/branches/2.1.2/; revision=10004

bin/emerge

index d21b444ee89731cadf0366b4ad40e12df9bb5c93..549a39d3eaab1e2f53dd3e351abdd8bc443591c1 100755 (executable)
@@ -3700,6 +3700,10 @@ class depgraph(object):
                                                continue
 
                                        if "/" == task.root:
+                                               # Never uninstall sys-apps/portage
+                                               # except through replacement.
+                                               if "sys-apps/portage" == task.cp:
+                                                       continue
                                                # For packages in the system set, don't take
                                                # any chances. If the conflict can't be resolved
                                                # by a normal replacement operation then abort.