summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-libs/libiio/libiio-0.21.ebuild10
1 files changed, 9 insertions, 1 deletions
diff --git a/net-libs/libiio/libiio-0.21.ebuild b/net-libs/libiio/libiio-0.21.ebuild
index 9e0145ed05ba..8c0f8320c620 100644
--- a/net-libs/libiio/libiio-0.21.ebuild
+++ b/net-libs/libiio/libiio-0.21.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-inherit cmake
+inherit cmake udev
DESCRIPTION="Library for interfacing with IIO devices"
HOMEPAGE="https://github.com/analogdevicesinc/libiio"
@@ -24,3 +24,11 @@ RDEPEND="dev-libs/libxml2:=
aio? ( dev-libs/libaio )
zeroconf? ( net-dns/avahi )"
DEPEND="${RDEPEND}"
+
+pkg_postinst() {
+ udev_reload
+}
+
+pkg_postrm() {
+ udev_reload
+}