From bb4cecfe5d7109d4de2bb32a2ef9a69d1acc868e Mon Sep 17 00:00:00 2001 From: Pacho Ramos Date: Sun, 14 Aug 2022 11:26:24 +0200 Subject: [PATCH] app-admin/system-config-printer: Call udev_reload Closes: https://bugs.gentoo.org/861896 Signed-off-by: Pacho Ramos --- .../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 664a9ddecafe8..6eccbf19762f5 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 +}