diff options
author | David Seifert <soap@gentoo.org> | 2022-02-01 19:23:07 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2022-02-01 19:23:07 +0100 |
commit | cbe262b6c9a662b80b259562aa5949623ab9247a (patch) | |
tree | 6de4eb7d2772f9b1408027987d0785e6b4fed32f /eclass/user.eclass | |
parent | user.eclass: remove EAPI 5 (diff) | |
download | gentoo-cbe262b6c9a662b80b259562aa5949623ab9247a.tar.gz gentoo-cbe262b6c9a662b80b259562aa5949623ab9247a.tar.bz2 gentoo-cbe262b6c9a662b80b259562aa5949623ab9247a.zip |
user.eclass: canonical variable ordering
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'eclass/user.eclass')
-rw-r--r-- | eclass/user.eclass | 6 |
1 files 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 |