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