summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2019-08-19 23:12:42 +0200
committerUlrich Müller <ulm@gentoo.org>2019-08-20 08:46:39 +0200
commit9fab152de8b6b6b71b2a7adb2c36646b740e6e3e (patch)
treeab341e682593bc63c7c101de43e76c1217f386e2 /eclass/acct-group.eclass
parentgames-roguelike/angband: bump version to 4.2.0 (diff)
downloadgentoo-9fab152de8b6b6b71b2a7adb2c36646b740e6e3e.tar.gz
gentoo-9fab152de8b6b6b71b2a7adb2c36646b740e6e3e.tar.bz2
gentoo-9fab152de8b6b6b71b2a7adb2c36646b740e6e3e.zip
acct-{group,user}.eclass: Add @SUPPORTED_EAPIS.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'eclass/acct-group.eclass')
-rw-r--r--eclass/acct-group.eclass3
1 files changed, 2 insertions, 1 deletions
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 <mjo@gentoo.org>
# Michał Górny <mgorny@gentoo.org>
+# @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