mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-15 17:06:58 +02:00
eclass/user-info: Sync with gentoo
It's from gentoo commit 70893149093c6dcadc3520104de552a239600197.
This commit is contained in:
parent
177ef3b832
commit
14ed8bb1c6
@ -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
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
# @ECLASS: user-info.eclass
|
# @ECLASS: user-info.eclass
|
||||||
# @MAINTAINER:
|
# @MAINTAINER:
|
||||||
# base-system@gentoo.org (Linux)
|
# base-system@gentoo.org (Linux)
|
||||||
# Michał Górny <mgorny@gentoo.org> (NetBSD)
|
# Michał Górny <mgorny@gentoo.org> (NetBSD)
|
||||||
|
# @SUPPORTED_EAPIS: 6 7 8
|
||||||
# @BLURB: Read-only access to user and group information
|
# @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
|
if [[ -z ${_USER_INFO_ECLASS} ]]; then
|
||||||
_USER_INFO_ECLASS=1
|
_USER_INFO_ECLASS=1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user