From 52c7c592040ff379b0e7b334fa85eef904b45a7d Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 1 Jun 2006 07:59:03 +0000 Subject: [PATCH] Fix --buildpkgonly so that the "clean" phase is run afterwards. In other cases, "clean" is triggered automatically after the package is merged. svn path=/main/trunk/; revision=3445 --- bin/emerge | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bin/emerge b/bin/emerge index ae3dfeb98..ced6c0efc 100755 --- a/bin/emerge +++ b/bin/emerge @@ -2036,6 +2036,9 @@ class depgraph: retval=portage.pkgmerge(mytbz2,myroot,self.pkgsettings) if retval is None: sys.exit(1) + elif "noclean" not in self.pkgsettings.features: + portage.doebuild(y, "clean", myroot, self.pkgsettings, + edebug, tree="porttree") else: short_msg = "emerge: ("+str(mergecount)+" of "+str(len(mymergelist))+") "+x[pkgindex]+" Clean" emergelog(" === ("+str(mergecount)+" of "+str(len(mymergelist))+") Cleaning ("+x[pkgindex]+"::"+y+")", short_msg=short_msg) -- 2.26.2