eclass/user-info: Sync with gentoo

It's from gentoo commit 70893149093c6dcadc3520104de552a239600197.
This commit is contained in:
Krzesimir Nowak 2022-03-09 20:30:37 +01:00
parent 177ef3b832
commit 14ed8bb1c6

View File

@ -1,12 +1,18 @@
# Copyright 1999-2020 Gentoo Authors
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# @ECLASS: user-info.eclass
# @MAINTAINER:
# base-system@gentoo.org (Linux)
# Michał Górny <mgorny@gentoo.org> (NetBSD)
# @SUPPORTED_EAPIS: 6 7 8
# @BLURB: Read-only access to user and group information
case ${EAPI} in
6|7|8) ;;
*) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
esac
if [[ -z ${_USER_INFO_ECLASS} ]]; then
_USER_INFO_ECLASS=1