forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
acct-{group,user}.eclass: Add @SUPPORTED_EAPIS.
Signed-off-by: Ulrich Müller <[email protected]>
- Loading branch information
Showing
2 changed files
with
5 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -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 >> | ||
|