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

(-)/usr/lib/gentoolkit/pym/gentoolkit.py (-1 / +5 lines)
Lines 109-115 Link Here
109
		return os.path.exists(self._db.getpath())
109
		return os.path.exists(self._db.getpath())
110
	def is_overlay(self):
110
	def is_overlay(self):
111
		dir,ovl=portage.portdb.findname2(self._cpv)
111
		dir,ovl=portage.portdb.findname2(self._cpv)
112
		return ovl
112
		if settings.environ()['PORTDIR_OVERLAY'] == ovl:
113
			return ovl
114
		else:
115
			return 0
116
113
	def is_masked(self):
117
	def is_masked(self):
114
		"""Returns true if this package is masked against installation. Note: We blindly assume that
118
		"""Returns true if this package is masked against installation. Note: We blindly assume that
115
		the package actually exists on disk somewhere."""
119
		the package actually exists on disk somewhere."""

Return to bug 56740