mirror of
https://github.com/flatcar/scripts.git
synced 2026-05-05 04:06:33 +02:00
eclass/user-info: Sync with Gentoo
It's from Gentoo commit fbbce31f0e4ec8fc1da5cfb19feef4e0ace000d6. Signed-off-by: Flatcar Buildbot <buildbot@flatcar-linux.org>
This commit is contained in:
parent
a9b4b07a85
commit
a079b14332
@ -5,17 +5,17 @@
|
||||
# @MAINTAINER:
|
||||
# base-system@gentoo.org (Linux)
|
||||
# Michał Górny <mgorny@gentoo.org> (NetBSD)
|
||||
# @SUPPORTED_EAPIS: 7 8
|
||||
# @SUPPORTED_EAPIS: 7 8 9
|
||||
# @BLURB: Read-only access to user and group information
|
||||
|
||||
case ${EAPI} in
|
||||
7|8) ;;
|
||||
*) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
|
||||
esac
|
||||
|
||||
if [[ -z ${_USER_INFO_ECLASS} ]]; then
|
||||
_USER_INFO_ECLASS=1
|
||||
|
||||
case ${EAPI} in
|
||||
7|8|9) ;;
|
||||
*) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
|
||||
esac
|
||||
|
||||
# @FUNCTION: egetent
|
||||
# @USAGE: <database> <key>
|
||||
# @DESCRIPTION:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user