commit:     0c8091fad28a3378f48c7be1dbf0c959244b5175
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 20 13:47:43 2022 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Wed Jul 20 13:59:28 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c8091fa

sys-apps/usb_modeswitch: Reload udev rules

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

 sys-apps/usb_modeswitch/usb_modeswitch-2.6.1.ebuild | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/sys-apps/usb_modeswitch/usb_modeswitch-2.6.1.ebuild 
b/sys-apps/usb_modeswitch/usb_modeswitch-2.6.1.ebuild
index 78af89e7578d..d20c200a940a 100644
--- a/sys-apps/usb_modeswitch/usb_modeswitch-2.6.1.ebuild
+++ b/sys-apps/usb_modeswitch/usb_modeswitch-2.6.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -65,3 +65,11 @@ src_install() {
 
        keepdir /var/lib/${PN}
 }
+
+pkg_postinst() {
+       udev_reload
+}
+
+pkg_postrm() {
+       udev_reload
+}

Reply via email to