summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/portage.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pym/portage.py b/pym/portage.py
index 122f2e128..9c0c8f1d9 100644
--- a/pym/portage.py
+++ b/pym/portage.py
@@ -5859,7 +5859,8 @@ class dblink:
if a != 0:
writemsg("!!! FAILED postrm: "+str(a)+"\n")
sys.exit(123)
-
+ if "noclean" not in features:
+ doebuild(myebuildpath, "clean", self.myroot, self.settings, cleanup=cleanup, tree=self.treetype)
self.unlockdb()
def isowner(self,filename,destroot):