diff options
author | Sam James <sam@gentoo.org> | 2021-06-20 23:14:55 +0200 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2021-06-20 23:14:55 +0200 |
commit | 09e6d1c046f7b491873de51eac8426be16a0162e (patch) | |
tree | b54b1664b858ed5458d70e4be3e8641a5b613e04 /eclass/pam.eclass | |
parent | optfeature.eclass: [QA] add @SUPPORTED_EAPIS tag (diff) | |
download | gentoo-09e6d1c046f7b491873de51eac8426be16a0162e.tar.gz gentoo-09e6d1c046f7b491873de51eac8426be16a0162e.tar.bz2 gentoo-09e6d1c046f7b491873de51eac8426be16a0162e.zip |
pam.eclass: [QA] add EAPI guard
Signed-off-by: Sam James <sam@gentoo.org>
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'eclass/pam.eclass')
-rw-r--r-- | eclass/pam.eclass | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/eclass/pam.eclass b/eclass/pam.eclass index c9de612469b1..642595f9b2f9 100644 --- a/eclass/pam.eclass +++ b/eclass/pam.eclass @@ -7,10 +7,16 @@ # @AUTHOR: # Diego Pettenò <flameeyes@gentoo.org> # @BLURB: Handles pam related tasks +# @SUPPORTED_EAPIS: 5 6 7 # @DESCRIPTION: # This eclass contains functions to install pamd configuration files and # pam modules. +case ${EAPI:-0} in + [567]) ;; + *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;; +esac + if [[ -z ${_PAM_ECLASS} ]]; then _PAM_ECLASS=1 |