summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2003-06-26 22:24:41 +0000
committerMike Frysinger <vapier@gentoo.org>2003-06-26 22:24:41 +0000
commit289accaedbd2c1fd40e920cc47201d39566187a6 (patch)
treefbb2685a5fae5d512270144bf5a68590ab165dbf /eclass/games.eclass
parentmake freetype1 USE var a little more logical ... just for foser though (diff)
downloadgentoo-2-289accaedbd2c1fd40e920cc47201d39566187a6.tar.gz
gentoo-2-289accaedbd2c1fd40e920cc47201d39566187a6.tar.bz2
gentoo-2-289accaedbd2c1fd40e920cc47201d39566187a6.zip
allow user to specify GROUP/USER much more easily
Diffstat (limited to 'eclass/games.eclass')
-rw-r--r--eclass/games.eclass8
1 files changed, 5 insertions, 3 deletions
diff --git a/eclass/games.eclass b/eclass/games.eclass
index e7f71343cd5b..f4f97ac9556f 100644
--- a/eclass/games.eclass
+++ b/eclass/games.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/games.eclass,v 1.28 2003/06/24 22:22:11 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/games.eclass,v 1.29 2003/06/26 22:24:41 vapier Exp $
#
# devlist: {bass,phoenix,vapier}@gentoo.org
#
@@ -24,8 +24,10 @@ export GAMES_STATEDIR="/var/games"
export GAMES_LIBDIR="/usr/games/lib"
export GAMES_BINDIR="/usr/games/bin"
export GAMES_ENVD="90games"
-export GAMES_USER="games"
-export GAMES_GROUP="games"
+# if you want to use a different user/group than games.games,
+# just add these two variables to your environment (aka /etc/profile)
+export GAMES_USER="${GAMES_USER:-games}"
+export GAMES_GROUP="${GAMES_GROUP:-games}"
egamesconf() {
if [ -x ./configure ] ; then