Skip to content

Commit

Permalink
acct-{group,user}.eclass: Add @SUPPORTED_EAPIS.
Browse files Browse the repository at this point in the history
Signed-off-by: Ulrich Müller <[email protected]>
  • Loading branch information
ulm committed Aug 20, 2019
1 parent bb219b0 commit 9fab152
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion eclass/acct-group.eclass
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
# @AUTHOR:
# Michael Orlitzky <[email protected]>
# Michał Górny <[email protected]>
# @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
Expand Down Expand Up @@ -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
Expand Down
5 changes: 3 additions & 2 deletions eclass/acct-user.eclass
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
# @AUTHOR:
# Michael Orlitzky <[email protected]>
# Michał Górny <[email protected]>
# @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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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 >>
Expand Down

0 comments on commit 9fab152

Please sign in to comment.