aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEthan Nijmeh <ethannij@gmail.com>2022-06-30 23:24:29 -0700
committerEthan Nijmeh <ethannij@gmail.com>2022-06-30 23:24:29 -0700
commit40ed833be84eb8e15cfddba6f8087df5b2ed453b (patch)
tree627801b205ce07d8385043e97536d63f09812886 /x11-drivers
parentx11-drivers/OpenTabletDriver-bin inherit udev eclass (diff)
downloadguru-40ed833be84eb8e15cfddba6f8087df5b2ed453b.tar.gz
guru-40ed833be84eb8e15cfddba6f8087df5b2ed453b.tar.bz2
guru-40ed833be84eb8e15cfddba6f8087df5b2ed453b.zip
x11-drivers/OpenTabletDriver-bin fixed udev QA
Signed-off-by: Ethan Nijmeh <ethannij@gmail.com>
Diffstat (limited to 'x11-drivers')
-rw-r--r--x11-drivers/OpenTabletDriver-bin/OpenTabletDriver-bin-0.6.0.4.ebuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/x11-drivers/OpenTabletDriver-bin/OpenTabletDriver-bin-0.6.0.4.ebuild b/x11-drivers/OpenTabletDriver-bin/OpenTabletDriver-bin-0.6.0.4.ebuild
index c9304ee16..d106f6ccf 100644
--- a/x11-drivers/OpenTabletDriver-bin/OpenTabletDriver-bin-0.6.0.4.ebuild
+++ b/x11-drivers/OpenTabletDriver-bin/OpenTabletDriver-bin-0.6.0.4.ebuild
@@ -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"