Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 48920
Collapse All | Expand All

(-)pym/portage.py (+4 lines)
Lines 6400-6405 Link Here
6400
		if not os.path.exists(self.dbtmpdir):
6400
		if not os.path.exists(self.dbtmpdir):
6401
			os.makedirs(self.dbtmpdir)
6401
			os.makedirs(self.dbtmpdir)
6402
6402
6403
		self.settings.configdict["conf"]["PORTAGE_PRIOR_VERSIONS"] = " ".join(otherversions)
6404
6403
		print ">>> Merging",self.mycpv,"to",destroot
6405
		print ">>> Merging",self.mycpv,"to",destroot
6404
6406
6405
		# run preinst script
6407
		# run preinst script
Lines 6527-6532 Link Here
6527
		else:
6529
		else:
6528
			a=doebuild(inforoot+"/"+self.pkg+".ebuild","postinst",root,self.settings,use_cache=0,tree=self.treetype)
6530
			a=doebuild(inforoot+"/"+self.pkg+".ebuild","postinst",root,self.settings,use_cache=0,tree=self.treetype)
6529
6531
6532
		del self.settings.configdict["conf"]["PORTAGE_PRIOR_VERSIONS"]
6533
6530
		# XXX: Decide how to handle failures here.
6534
		# XXX: Decide how to handle failures here.
6531
		if a != 0:
6535
		if a != 0:
6532
			writemsg("!!! FAILED postinst: "+str(a)+"\n")
6536
			writemsg("!!! FAILED postinst: "+str(a)+"\n")

Return to bug 48920