diff options
author | Huang Rui <vowstar@gmail.com> | 2020-08-18 18:27:55 +0800 |
---|---|---|
committer | Huang Rui <vowstar@gmail.com> | 2020-08-18 18:27:55 +0800 |
commit | b74aaa9d003c99e4d4a25bac8e6019bbb8f3b5bd (patch) | |
tree | 9853f1a2c7e09fef17fa12d5d098671cd99aa9ec /sci-electronics | |
parent | sci-electronics/dsview: changed KEYWORDS to "~amd64 ~x86" (diff) | |
download | guru-b74aaa9d003c99e4d4a25bac8e6019bbb8f3b5bd.tar.gz guru-b74aaa9d003c99e4d4a25bac8e6019bbb8f3b5bd.tar.bz2 guru-b74aaa9d003c99e4d4a25bac8e6019bbb8f3b5bd.zip |
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>
Diffstat (limited to 'sci-electronics')
-rw-r--r-- | sci-electronics/dsview/dsview-1.12.ebuild | 6 | ||||
-rw-r--r-- | sci-electronics/dsview/dsview-9999.ebuild | 6 |
2 files changed, 10 insertions, 2 deletions
diff --git a/sci-electronics/dsview/dsview-1.12.ebuild b/sci-electronics/dsview/dsview-1.12.ebuild index 2bd2c498f..318202f7c 100644 --- a/sci-electronics/dsview/dsview-1.12.ebuild +++ b/sci-electronics/dsview/dsview-1.12.ebuild @@ -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 +} diff --git a/sci-electronics/dsview/dsview-9999.ebuild b/sci-electronics/dsview/dsview-9999.ebuild index 2bd2c498f..318202f7c 100644 --- a/sci-electronics/dsview/dsview-9999.ebuild +++ b/sci-electronics/dsview/dsview-9999.ebuild @@ -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 +} |