summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-09-03 23:50:33 +0000
committerMike Frysinger <vapier@gentoo.org>2006-09-03 23:50:33 +0000
commit05b5c8b092db26b67d3511a2f141ad0cb5a9e1e7 (patch)
tree68c4bf61a68b7406a586235d08d4852fe4dd6786 /eclass
parentMarked stable on mips. (diff)
downloadgentoo-2-05b5c8b092db26b67d3511a2f141ad0cb5a9e1e7.tar.gz
gentoo-2-05b5c8b092db26b67d3511a2f141ad0cb5a9e1e7.tar.bz2
gentoo-2-05b5c8b092db26b67d3511a2f141ad0cb5a9e1e7.zip
use $GAMES_PREFIX rather than /usr/games for default user homedir
Diffstat (limited to 'eclass')
-rw-r--r--eclass/games.eclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/eclass/games.eclass b/eclass/games.eclass
index 928cf4a12948..f8d471f85e74 100644
--- a/eclass/games.eclass
+++ b/eclass/games.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/games.eclass,v 1.113 2006/05/19 21:27:48 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/games.eclass,v 1.114 2006/09/03 23:50:33 vapier Exp $
#
# devlist: {vapier,wolf31o2,mr_bones_}@gentoo.org -> games@gentoo.org
#
@@ -120,9 +120,9 @@ games_pkg_setup() {
enewgroup "${GAMES_GROUP}" 35
[[ ${GAMES_USER} != "root" ]] \
- && enewuser "${GAMES_USER}" 35 -1 /usr/games "${GAMES_GROUP}"
+ && enewuser "${GAMES_USER}" 35 -1 "${GAMES_PREFIX}" "${GAMES_GROUP}"
[[ ${GAMES_USER_DED} != "root" ]] \
- && enewuser "${GAMES_USER_DED}" 36 /bin/bash /usr/games "${GAMES_GROUP}"
+ && enewuser "${GAMES_USER_DED}" 36 /bin/bash "${GAMES_PREFIX}" "${GAMES_GROUP}"
# Dear portage team, we are so sorry. Lots of love, games team.
# See Bug #61680