mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-23 05:53:12 -04:00
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:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user