From: Ulrich Müller Date: Mon, 19 Aug 2019 21:12:42 +0000 (+0200) Subject: acct-{group,user}.eclass: Add @SUPPORTED_EAPIS. X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=9fab152de8b6b6b71b2a7adb2c36646b740e6e3e;p=gentoo.git acct-{group,user}.eclass: Add @SUPPORTED_EAPIS. Signed-off-by: Ulrich Müller --- diff --git a/eclass/acct-group.eclass b/eclass/acct-group.eclass index d5ccd209c9e3..99919789b2c7 100644 --- a/eclass/acct-group.eclass +++ b/eclass/acct-group.eclass @@ -7,6 +7,7 @@ # @AUTHOR: # Michael Orlitzky # Michał Górny +# @SUPPORTED_EAPIS: 7 # @BLURB: Eclass used to create and maintain a single group entry # @DESCRIPTION: # This eclass represents and creates a single group entry. The name @@ -35,7 +36,7 @@ _ACCT_GROUP_ECLASS=1 case ${EAPI:-0} in 7) ;; - *) die "EAPI=${EAPI} not supported";; + *) die "EAPI=${EAPI:-0} not supported";; esac inherit user diff --git a/eclass/acct-user.eclass b/eclass/acct-user.eclass index fa4f9daef8f7..c1396141454b 100644 --- a/eclass/acct-user.eclass +++ b/eclass/acct-user.eclass @@ -7,6 +7,7 @@ # @AUTHOR: # Michael Orlitzky # Michał Górny +# @SUPPORTED_EAPIS: 7 # @BLURB: Eclass used to create and maintain a single user entry # @DESCRIPTION: # This eclass represents and creates a single user entry. The name @@ -43,7 +44,7 @@ _ACCT_USER_ECLASS=1 case ${EAPI:-0} in 7) ;; - *) die "EAPI=${EAPI} not supported";; + *) die "EAPI=${EAPI:-0} not supported";; esac inherit user @@ -107,7 +108,7 @@ readonly ACCT_USER_NAME # @REQUIRED # @DESCRIPTION: # List of groups the user should belong to. This must be a bash -# array. +# array. # << Boilerplate ebuild variables >>