commit:     4c42d8158713512085c747436ce8062c3c5404b8
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 18 09:40:00 2022 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Sun Dec 18 09:40:00 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c42d815

media-gfx/sane-backends: Run udev_reload

Closes: https://bugs.gentoo.org/886269
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>

 media-gfx/sane-backends/sane-backends-1.1.1-r11.ebuild | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/media-gfx/sane-backends/sane-backends-1.1.1-r11.ebuild 
b/media-gfx/sane-backends/sane-backends-1.1.1-r11.ebuild
index b8de8f738d47..2f29e89372ca 100644
--- a/media-gfx/sane-backends/sane-backends-1.1.1-r11.ebuild
+++ b/media-gfx/sane-backends/sane-backends-1.1.1-r11.ebuild
@@ -362,4 +362,10 @@ pkg_postinst() {
                elog "If you want remote clients to connect, edit"
                elog "/etc/sane.d/saned.conf and /etc/hosts.allow"
        fi
+
+       udev_reload
+}
+
+pkg_postrm() {
+       udev_reload
 }

Reply via email to