commit: 9d45a4ff15b5948e1ff5de2204e410a018708974 Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org> AuthorDate: Fri Jul 15 20:52:20 2022 +0000 Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org> CommitDate: Fri Jul 15 20:55:27 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d45a4ff
net-misc/taylor-uucp: restore default shell after unemerge Since user 'uucp' is being modified after emerge, it needs to be reset to default after unemerge. Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org> .../{taylor-uucp-1.07-r4.ebuild => taylor-uucp-1.07-r5.ebuild} | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/net-misc/taylor-uucp/taylor-uucp-1.07-r4.ebuild b/net-misc/taylor-uucp/taylor-uucp-1.07-r5.ebuild similarity index 93% rename from net-misc/taylor-uucp/taylor-uucp-1.07-r4.ebuild rename to net-misc/taylor-uucp/taylor-uucp-1.07-r5.ebuild index 40489f01df10..236af2a65b1d 100644 --- a/net-misc/taylor-uucp/taylor-uucp-1.07-r4.ebuild +++ b/net-misc/taylor-uucp/taylor-uucp-1.07-r5.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -63,3 +63,7 @@ src_install() { pkg_preinst() { usermod -s /bin/bash uucp || die } + +pkg_postrm() { + usermod -s /bin/false uucp || die +}