From 5b5a9275955833746b8f452d0e5ed8619a97cf56 Mon Sep 17 00:00:00 2001 From: James Le Cuirot Date: Tue, 31 May 2022 21:26:34 +0100 Subject: games-util/joycond: Call udev_reload when installing or removing Closes: https://bugs.gentoo.org/847043 Signed-off-by: James Le Cuirot --- games-util/joycond/joycond-0.1.0_p20210730-r1.ebuild | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'games-util') diff --git a/games-util/joycond/joycond-0.1.0_p20210730-r1.ebuild b/games-util/joycond/joycond-0.1.0_p20210730-r1.ebuild index 89a5d6774449..fb0deb654d53 100644 --- a/games-util/joycond/joycond-0.1.0_p20210730-r1.ebuild +++ b/games-util/joycond/joycond-0.1.0_p20210730-r1.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit cmake linux-info +inherit cmake linux-info udev COMMIT="f9a66914622514c13997c2bf7ec20fa98e9dfc1d" DESCRIPTION="Daemon that uses hid-nintendo evdev devices to implement joycon pairing" @@ -41,3 +41,11 @@ src_install() { newinitd "${FILESDIR}"/${PN}.initd ${PN} doman doc/${PN}.1 } + +pkg_postinst() { + udev_reload +} + +pkg_postrm() { + udev_reload +} -- cgit v1.2.3-65-gdbad