commit: 0e5d1c23810cc4716ebafd7b2f2ecee276b424c3 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Thu Apr 28 03:32:32 2022 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Thu Apr 28 03:32:32 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e5d1c23
net-misc/dahdi-tools: use udev.eclass; call udev_reload Signed-off-by: Sam James <sam <AT> gentoo.org> net-misc/dahdi-tools/dahdi-tools-3.1.0-r2.ebuild | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/net-misc/dahdi-tools/dahdi-tools-3.1.0-r2.ebuild b/net-misc/dahdi-tools/dahdi-tools-3.1.0-r2.ebuild index 33e37114b885..49903c27e61a 100644 --- a/net-misc/dahdi-tools/dahdi-tools-3.1.0-r2.ebuild +++ b/net-misc/dahdi-tools/dahdi-tools-3.1.0-r2.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -inherit autotools bash-completion-r1 perl-functions +inherit autotools bash-completion-r1 perl-functions udev DESCRIPTION="Userspace tools to configure the kernel modules from net-misc/dahdi" HOMEPAGE="https://www.asterisk.org" @@ -47,7 +47,7 @@ src_install() { local bashcompdir="$(get_bashcompdir)" local bashcmd bashcmdtarget - emake DESTDIR="${ED}" bashcompdir="${bashcompdir}" udevrulesdir=/lib/udev/rules.d install + emake DESTDIR="${ED}" bashcompdir="${bashcompdir}" udevrulesdir="$(get_udevdir)/rules.d" install emake DESTDIR="${ED}" install-config dosbin patgen pattest patlooptest hdlcstress hdlctest hdlcgen hdlcverify timertest @@ -64,3 +64,7 @@ src_install() { # Delete *if* the libtool file exists, bug #778380 find "${ED}" -name '*.la' -delete || die } + +pkg_postinst() { + udev_reload +}