summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2002-11-29 22:28:50 +0000
committerMike Frysinger <vapier@gentoo.org>2002-11-29 22:28:50 +0000
commit976b8fe9aa25936c7d6db144f7ae8451293bcaac (patch)
treee27d5e732f1a6f40de2328965673d17107ff3e8f /eclass/games.eclass
parentadd missing python-cnofig for version 2.2.2 (diff)
downloadhistorical-976b8fe9aa25936c7d6db144f7ae8451293bcaac.tar.gz
historical-976b8fe9aa25936c7d6db144f7ae8451293bcaac.tar.bz2
historical-976b8fe9aa25936c7d6db144f7ae8451293bcaac.zip
fixes
Diffstat (limited to 'eclass/games.eclass')
-rw-r--r--eclass/games.eclass8
1 files changed, 4 insertions, 4 deletions
diff --git a/eclass/games.eclass b/eclass/games.eclass
index df22329c2d40..86ca7586788c 100644
--- a/eclass/games.eclass
+++ b/eclass/games.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/games.eclass,v 1.14 2002/11/28 16:25:21 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/games.eclass,v 1.15 2002/11/29 22:28:50 vapier Exp $
# devlist: {bass,phoenix,vapier}@gentoo.org
# This is the games ebuild for standardizing the install of games ...
@@ -68,12 +68,12 @@ dogameslib.a() { gameswrapper lib.a $@; }
dogameslib.so() { gameswrapper lib.so $@; }
gamesowners() { chown ${GAMES_USER}.${GAMES_GROUP} $@; }
-gamesperms() { chmod ug+r,o-rwx $@; }
+gamesperms() { chmod u+rw,g+r-w,o-rwx $@; }
prepgamesdirs() {
for dir in ${GAMES_PREFIX} ${GAMES_PREFIX_OPT} ${GAMES_DATADIR} ${GAMES_SYSCONFDIR} \
- ${GAMES_STATEDIR} ${GAMES_LIBDIR} ${GAMES_BINDIR} ; do
+ ${GAMES_STATEDIR} ${GAMES_LIBDIR} ${GAMES_BINDIR} $@ ; do
(
- chown -R ${GAMES_USER}.${GAMES_GROUP} ${D}/${dir}
+ gamesowners -R ${D}/${dir}
find ${D}/${dir} -type d -print0 | xargs --null chmod 750
find ${D}/${dir} -type f -print0 | xargs --null chmod o-rwx
) >& /dev/null