games-util/input-remapper: fix multiple pkg_postinst

While adding post-install messaging I created a second pkg_postinst
instead of using the existing one, causing udev_reload to not be
executed anymore. This merges the two back into one.

Closes: https://bugs.gentoo.org/975963
Signed-off-by: Erica Nebula <EricaNebula@Proton.me>
This commit is contained in:
Erica Nebula
2026-05-24 21:41:17 -05:00
parent 24f2598001
commit 8b69ccccae

View File

@@ -92,16 +92,14 @@ src_install() {
pkg_postinst() {
udev_reload
einfo ""
einfo "This version of input-remapper relies on reprecated dependencies (dev-python/pkg-resources) and additionally cannot support python 3.14."
einfo ""
einfo "It is recommended to switch to the live ebuild, where both of these issues have been fixed, until the author releases a new version."
einfo ""
}
pkg_postrm() {
udev_reload
}
pkg_postinst() {
einfo ""
einfo "This version of input-remapper relies on reprecated dependencies (dev-python/pkg-resources) and additionally cannot support python 3.14."
einfo ""
einfo "It is recommended to switch to the live ebuild, where both of these issues have been fixed, until the author releases a new version."
einfo ""
}