1 |
commit: 9851e90f0a8e4cbfa680ce278bdd8812f92699fa |
2 |
Author: Mike Gilbert <floppym <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Dec 28 14:52:16 2020 +0000 |
4 |
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Dec 28 14:52:16 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9851e90f |
7 |
|
8 |
acct-user/root: do not lock the account when removed |
9 |
|
10 |
Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org> |
11 |
|
12 |
acct-user/root/{root-0.ebuild => root-0-r1.ebuild} | 5 +++++ |
13 |
1 file changed, 5 insertions(+) |
14 |
|
15 |
diff --git a/acct-user/root/root-0.ebuild b/acct-user/root/root-0-r1.ebuild |
16 |
similarity index 84% |
17 |
rename from acct-user/root/root-0.ebuild |
18 |
rename to acct-user/root/root-0-r1.ebuild |
19 |
index a5fb1604d97..f85c77b4cd5 100644 |
20 |
--- a/acct-user/root/root-0.ebuild |
21 |
+++ b/acct-user/root/root-0-r1.ebuild |
22 |
@@ -13,3 +13,8 @@ ACCT_USER_HOME_PERMS=0700 |
23 |
ACCT_USER_GROUPS=( root ) |
24 |
|
25 |
acct-user_add_deps |
26 |
+ |
27 |
+pkg_prerm() { |
28 |
+ # Don't lock out the superuser |
29 |
+ : |
30 |
+} |