diff options
author | Mike Frysinger <vapier@gentoo.org> | 2002-11-17 21:59:56 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2002-11-17 21:59:56 +0000 |
commit | bd80e21529a51fcf3aa8fa289af26e8be0bf883e (patch) | |
tree | 9f442c5a066556c43b90b79f1971c0544600b0b2 /eclass/games.eclass | |
parent | added egamesinstall (diff) | |
download | gentoo-2-bd80e21529a51fcf3aa8fa289af26e8be0bf883e.tar.gz gentoo-2-bd80e21529a51fcf3aa8fa289af26e8be0bf883e.tar.bz2 gentoo-2-bd80e21529a51fcf3aa8fa289af26e8be0bf883e.zip |
added gamesenv
Diffstat (limited to 'eclass/games.eclass')
-rw-r--r-- | eclass/games.eclass | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/eclass/games.eclass b/eclass/games.eclass index b9171c877c1f..3098e55dc494 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.6 2002/11/17 21:58:43 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/games.eclass,v 1.7 2002/11/17 21:59:56 vapier Exp $ # devlist: {bass,phoenix,vapier}@gentoo.org # This is the games ebuild for standardizing the install of games ... @@ -70,7 +70,9 @@ dogamelib.so() { gameswrapper lib.so $@; } gameowners() { chown ${GAMES_USER}.${GAMES_ROOT} $@; } gameperms() { chmod ug+r,o-rwx $@; } -games_pkg_postinst() { +gamesenv() { echo "LDPATH=\"${GAMES_LIBDIR}\"" > /etc/env.d/${GAMES_ENVD} echo "PATH=\"${GAMES_BINDIR}\"" >> /etc/env.d/${GAMES_ENVD} } + +games_pkg_postinst() { gamesenv; } |