From 070381621a63827203caf190b3cc91593edd6d12 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 22 Oct 2005 02:22:42 +0000 Subject: [PATCH] add hook for checking licenses --- eclass/games.eclass | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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}" -- 2.26.2