commit: cbe262b6c9a662b80b259562aa5949623ab9247a Author: David Seifert <soap <AT> gentoo <DOT> org> AuthorDate: Tue Feb 1 18:23:07 2022 +0000 Commit: David Seifert <soap <AT> gentoo <DOT> org> CommitDate: Tue Feb 1 18:23:07 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cbe262b6
user.eclass: canonical variable ordering Signed-off-by: David Seifert <soap <AT> gentoo.org> eclass/user.eclass | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/eclass/user.eclass b/eclass/user.eclass index 9373b361d59f..581704eae815 100644 --- a/eclass/user.eclass +++ b/eclass/user.eclass @@ -12,9 +12,6 @@ # The user eclass contains a suite of functions that allow ebuilds # to quickly make sure users in the installed system are sane. -if [[ -z ${_USER_ECLASS} ]]; then -_USER_ECLASS=1 - case ${EAPI} in 6|7) ;; 8) @@ -29,6 +26,9 @@ case ${EAPI} in *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;; esac +if [[ -z ${_USER_ECLASS} ]]; then +_USER_ECLASS=1 + inherit user-info # @FUNCTION: _assert_pkg_ebuild_phase