commit: 5b5a9275955833746b8f452d0e5ed8619a97cf56 Author: James Le Cuirot <chewi <AT> gentoo <DOT> org> AuthorDate: Tue May 31 20:26:34 2022 +0000 Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org> CommitDate: Tue May 31 20:26:34 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b5a9275
games-util/joycond: Call udev_reload when installing or removing Closes: https://bugs.gentoo.org/847043 Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org> games-util/joycond/joycond-0.1.0_p20210730-r1.ebuild | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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 +}
