summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
Diffstat (limited to 'eclass')
-rw-r--r--eclass/user.eclass6
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