summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2002-11-17 22:26:26 +0000
committerMike Frysinger <vapier@gentoo.org>2002-11-17 22:26:26 +0000
commit3a2f6d655bbe5fc8d03912525596bf53a7c4405a (patch)
tree7d2df0dee191a66fa346de5329b76105e0f6fd86 /eclass/games.eclass
parentadded prepgames (diff)
downloadgentoo-2-3a2f6d655bbe5fc8d03912525596bf53a7c4405a.tar.gz
gentoo-2-3a2f6d655bbe5fc8d03912525596bf53a7c4405a.tar.bz2
gentoo-2-3a2f6d655bbe5fc8d03912525596bf53a7c4405a.zip
added prepgames
Diffstat (limited to 'eclass/games.eclass')
-rw-r--r--eclass/games.eclass9
1 files changed, 6 insertions, 3 deletions
diff --git a/eclass/games.eclass b/eclass/games.eclass
index 8a831ea5a77e..a9f6b6f749df 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.9 2002/11/17 22:19:37 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/games.eclass,v 1.10 2002/11/17 22:26:26 vapier Exp $
# devlist: {bass,phoenix,vapier}@gentoo.org
# This is the games ebuild for standardizing the install of games ...
@@ -69,7 +69,7 @@ dogameslib.so() { gameswrapper lib.so $@; }
gamesowners() { chown ${GAMES_USER}.${GAMES_ROOT} $@; }
gamesperms() { chmod ug+r,o-rwx $@; }
-prepgames() {
+prepgamesdirs() {
local GAMES_DIRS="${GAMES_PREFIX} ${GAMES_PREFIX_OPT} ${GAMES_DATADIR} \
${GAMES_SYSCONFDIR} ${GAMES_STATEDIR} ${GAMES_LIBDIR} \
${GAMES_BINDIR}"
@@ -83,4 +83,7 @@ gamesenv() {
echo "PATH=\"${GAMES_BINDIR}\"" >> /etc/env.d/${GAMES_ENVD}
}
-games_pkg_postinst() { gamesenv; }
+games_pkg_postinst() {
+ prepgamesdirs
+ gamesenv
+}