sci-electronics/dsview: add pkg_postinst to run udev_reload

Package-Manager: Portage-3.0.3, Repoman-3.0.0
Signed-off-by: Huang Rui <vowstar@gmail.com>
This commit is contained in:
Huang Rui
2020-08-18 18:27:55 +08:00
parent eaacb80775
commit b74aaa9d00
2 changed files with 10 additions and 2 deletions

View File

@@ -6,7 +6,7 @@ EAPI=7
PYTHON_COMPAT=( python3_{6,7,8,9} )
GITHUB_PN="DSView"
inherit autotools cmake python-r1 xdg
inherit autotools cmake python-r1 udev xdg
DESCRIPTION="An open source multi-function instrument"
HOMEPAGE="
@@ -96,3 +96,7 @@ src_install() {
cmake -DCMAKE_INSTALL_PREFIX=/usr . || die
emake DESTDIR="${D}" install
}
pkg_postinst() {
udev_reload
}

View File

@@ -6,7 +6,7 @@ EAPI=7
PYTHON_COMPAT=( python3_{6,7,8,9} )
GITHUB_PN="DSView"
inherit autotools cmake python-r1 xdg
inherit autotools cmake python-r1 udev xdg
DESCRIPTION="An open source multi-function instrument"
HOMEPAGE="
@@ -96,3 +96,7 @@ src_install() {
cmake -DCMAKE_INSTALL_PREFIX=/usr . || die
emake DESTDIR="${D}" install
}
pkg_postinst() {
udev_reload
}