commit:     bb4cecfe5d7109d4de2bb32a2ef9a69d1acc868e
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 14 09:26:24 2022 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Sun Aug 14 09:26:24 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb4cecfe

app-admin/system-config-printer: Call udev_reload

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

 .../system-config-printer-1.5.16-r1.ebuild                     | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git 
a/app-admin/system-config-printer/system-config-printer-1.5.16-r1.ebuild 
b/app-admin/system-config-printer/system-config-printer-1.5.16-r1.ebuild
index 664a9ddecafe..6eccbf19762f 100644
--- a/app-admin/system-config-printer/system-config-printer-1.5.16-r1.ebuild
+++ b/app-admin/system-config-printer/system-config-printer-1.5.16-r1.ebuild
@@ -5,7 +5,7 @@ EAPI=8
 
 PYTHON_COMPAT=( python3_{8..10} )
 PYTHON_REQ_USE="xml"
-inherit python-single-r1 systemd xdg
+inherit python-single-r1 systemd udev xdg
 
 DESCRIPTION="Graphical user interface for CUPS administration"
 HOMEPAGE="https://github.com/OpenPrinting/system-config-printer";
@@ -80,3 +80,11 @@ src_install() {
        python_optimize
        python_domodule cupshelpers
 }
+
+pkg_postinst() {
+       udev_reload
+}
+
+pkg_postrm() {
+       udev_reload
+}

Reply via email to