diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-10-22 02:22:42 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-10-22 02:22:42 +0000 |
commit | 13ed94cedbc56618f55653c6421213f729333bef (patch) | |
tree | 6e44f509991afb107f41c400358478a8a544a6a5 /eclass | |
parent | Stable on x86; bug #109529 (diff) | |
download | gentoo-2-13ed94cedbc56618f55653c6421213f729333bef.tar.gz gentoo-2-13ed94cedbc56618f55653c6421213f729333bef.tar.bz2 gentoo-2-13ed94cedbc56618f55653c6421213f729333bef.zip |
add hook for checking licenses
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/games.eclass | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/eclass/games.eclass b/eclass/games.eclass index 557ac73b8a38..6b74207676ab 100644 --- a/eclass/games.eclass +++ b/eclass/games.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/games.eclass,v 1.106 2005/10/21 18:24:23 wolf31o2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/games.eclass,v 1.107 2005/10/22 02:22:42 vapier Exp $ # # devlist: {vapier,wolf31o2,mr_bones_}@gentoo.org -> games@gentoo.org # @@ -136,6 +136,8 @@ EOF } games_pkg_setup() { + [[ ${GAMES_CHECK_LICENSE} == "yes" ]] && check_license ${LICENSE} + enewgroup "${GAMES_GROUP}" 35 [[ ${GAMES_USER} != "root" ]] \ && enewuser "${GAMES_USER}" 35 -1 /usr/games "${GAMES_GROUP}" |