From 9b9ada2d7ab45567fa063321cfa243963214c37c Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 29 Nov 2007 03:11:18 +0000 Subject: [PATCH] In dblink.treewalk(), make portage unmerge multiple instances os sys-apps/portage in the same slot if necessary (needed when AUTOCLEAN=no is set). svn path=/main/trunk/; revision=8741 --- pym/portage/dbapi/vartree.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pym/portage/dbapi/vartree.py b/pym/portage/dbapi/vartree.py index ff2a1caf2..70a43c5e6 100644 --- a/pym/portage/dbapi/vartree.py +++ b/pym/portage/dbapi/vartree.py @@ -2032,7 +2032,8 @@ class dblink(object): # TODO: Check status and abort if necessary. dblnk.delete() writemsg_stdout(">>> Original instance of package unmerged safely.\n") - break + if not reinstall_self: + break # We hold both directory locks. self.dbdir = self.dbpkgdir -- 2.26.2