commit:     1c435eb585b3f7021661a94cf613521db79d9d52
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 28 04:35:13 2024 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Wed Aug 28 07:59:42 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c435eb5

sys-auth/elogind: Add missing udev_reload calls

Closes: https://bugs.gentoo.org/845168
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 sys-auth/elogind/elogind-252.9-r2.ebuild | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/sys-auth/elogind/elogind-252.9-r2.ebuild 
b/sys-auth/elogind/elogind-252.9-r2.ebuild
index 724707290b27..7d70473237ab 100644
--- a/sys-auth/elogind/elogind-252.9-r2.ebuild
+++ b/sys-auth/elogind/elogind-252.9-r2.ebuild
@@ -140,6 +140,7 @@ src_install() {
 }
 
 pkg_postinst() {
+       udev_reload
        if ! use pam; then
                ewarn "${PN} will not be managing user logins/seats without 
USE=\"pam\"!"
                ewarn "In other words, it will be useless for most 
applications."
@@ -181,3 +182,7 @@ pkg_postinst() {
                fi
        done
 }
+
+pkg_postrm() {
+       udev_reload
+}

Reply via email to