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

(-)games.eclass (-4 / +5 lines)
Lines 246-255 Link Here
246
			[[ ${dir} = ${GAMES_STATEDIR} ]] && mode=o-rwx,g+r
246
			[[ ${dir} = ${GAMES_STATEDIR} ]] && mode=o-rwx,g+r
247
			find "${D}/${dir}" -type f -print0 | xargs -0 chmod $mode
247
			find "${D}/${dir}" -type f -print0 | xargs -0 chmod $mode
248
248
249
			# common trees should not be games owned #264872
249
			# common trees should not be games owned #264872 #537580
250
			if [[ ${dir} == "${GAMES_PREFIX_OPT}" ]] ; then
250
			fowners root:root "${dir}"
251
				fowners root:root "${dir}"
251
			fperms 755 "${dir}"
252
				fperms 755 "${dir}"
252
			if [[ ${dir} == "${GAMES_PREFIX}" \
253
						|| ${dir} == "${GAMES_PREFIX_OPT}" ]] ; then
253
				for d in $(get_libdir) bin ; do
254
				for d in $(get_libdir) bin ; do
254
					# check if dirs exist to avoid "nonfatal" option
255
					# check if dirs exist to avoid "nonfatal" option
255
					if [[ -e ${D}/${dir}/${d} ]] ; then
256
					if [[ -e ${D}/${dir}/${d} ]] ; then

Return to bug 537580