summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-03-11 01:27:48 +0000
committerZac Medico <zmedico@gentoo.org>2006-03-11 01:27:48 +0000
commitecb65262cb6809adf1254daee106aa0acba6a4ae (patch)
tree58cf76f21ae4dec2d3d1c1802d00b9c2e578fc26
parent14128dbfe0557248545d19184a3ede23e9a78664 (diff)
downloadportage-ecb65262cb6809adf1254daee106aa0acba6a4ae.tar.gz
portage-ecb65262cb6809adf1254daee106aa0acba6a4ae.tar.bz2
portage-ecb65262cb6809adf1254daee106aa0acba6a4ae.zip
Trigger the clean phase at the end of dblink.unmerge() in order to remove cruft left by the pkg_*rm phases.
svn path=/main/trunk/; revision=2844
-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):