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
commite31386ac5d12b487df4b0325207947a18f0520c6 (patch)
treec762855fd0bb9cc1e41788ea4118511be9ddc852 /eclass/games.eclass
parentadded prepgames (diff)
downloadhistorical-e31386ac5d12b487df4b0325207947a18f0520c6.tar.gz
historical-e31386ac5d12b487df4b0325207947a18f0520c6.tar.bz2
historical-e31386ac5d12b487df4b0325207947a18f0520c6.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
+}