Gentoo Archives: gentoo-commits

From: James Le Cuirot <chewi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-util/joycond/
Date: Tue, 31 May 2022 20:27:42
Message-Id: 1654028794.5b5a9275955833746b8f452d0e5ed8619a97cf56.chewi@gentoo
1 commit: 5b5a9275955833746b8f452d0e5ed8619a97cf56
2 Author: James Le Cuirot <chewi <AT> gentoo <DOT> org>
3 AuthorDate: Tue May 31 20:26:34 2022 +0000
4 Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org>
5 CommitDate: Tue May 31 20:26:34 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b5a9275
7
8 games-util/joycond: Call udev_reload when installing or removing
9
10 Closes: https://bugs.gentoo.org/847043
11 Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>
12
13 games-util/joycond/joycond-0.1.0_p20210730-r1.ebuild | 10 +++++++++-
14 1 file changed, 9 insertions(+), 1 deletion(-)
15
16 diff --git a/games-util/joycond/joycond-0.1.0_p20210730-r1.ebuild b/games-util/joycond/joycond-0.1.0_p20210730-r1.ebuild
17 index 89a5d6774449..fb0deb654d53 100644
18 --- a/games-util/joycond/joycond-0.1.0_p20210730-r1.ebuild
19 +++ b/games-util/joycond/joycond-0.1.0_p20210730-r1.ebuild
20 @@ -3,7 +3,7 @@
21
22 EAPI=8
23
24 -inherit cmake linux-info
25 +inherit cmake linux-info udev
26
27 COMMIT="f9a66914622514c13997c2bf7ec20fa98e9dfc1d"
28 DESCRIPTION="Daemon that uses hid-nintendo evdev devices to implement joycon pairing"
29 @@ -41,3 +41,11 @@ src_install() {
30 newinitd "${FILESDIR}"/${PN}.initd ${PN}
31 doman doc/${PN}.1
32 }
33 +
34 +pkg_postinst() {
35 + udev_reload
36 +}
37 +
38 +pkg_postrm() {
39 + udev_reload
40 +}