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 | 60082dec768afe35c784c1424f14d23964c5ef5f (patch) | |
tree | dce5d44bc4aadbce9acad312ab4ab2339d2d7065 /eclass/games.eclass | |
parent | added egamesinstall (diff) | |
download | historical-60082dec768afe35c784c1424f14d23964c5ef5f.tar.gz historical-60082dec768afe35c784c1424f14d23964c5ef5f.tar.bz2 historical-60082dec768afe35c784c1424f14d23964c5ef5f.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; } |