x11-drivers/OpenTabletDriver-bin: moved udevadm to postinst

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Ethan Nijmeh <ethannij@gmail.com>
This commit is contained in:
Ethan Nijmeh
2022-01-21 15:41:07 -08:00
parent 243f3f5666
commit 2a373db7e0

View File

@@ -47,7 +47,6 @@ src_install() {
insinto "/lib/udev/rules.d" insinto "/lib/udev/rules.d"
doins -r "${S}/99-${LP}.rules" doins -r "${S}/99-${LP}.rules"
udevadm control --reload || die
cd "${FILESDIR}" || die cd "${FILESDIR}" || die
dobin "${SP}" dobin "${SP}"
@@ -59,6 +58,7 @@ src_install() {
} }
pkg_postinst() { pkg_postinst() {
udevadm control --reload || die
if [[ -z ${REPLACING_VERSIONS} ]]; then if [[ -z ${REPLACING_VERSIONS} ]]; then
elog "Please replug your tablet before attempting to use the driver" elog "Please replug your tablet before attempting to use the driver"
fi fi