x11-drivers/OpenTabletDriver-bin fixed udev QA

Signed-off-by: Ethan Nijmeh <ethannij@gmail.com>
This commit is contained in:
Ethan Nijmeh
2022-06-30 23:24:29 -07:00
parent 98e276f255
commit 40ed833be8

View File

@@ -57,7 +57,12 @@ src_install() {
make_desktop_entry /usr/bin/otd-gui OpenTabletDriver otd Settings
}
pkg_postrm() {
udev_reload
}
pkg_postinst() {
udev_reload
udevadm control --reload || die
if [[ -z ${REPLACING_VERSIONS} ]]; then
elog "Please replug your tablet before attempting to use the driver"