commit:     4bc6ac52f670b36d747cee528cfe61e10ee2576b
Author:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Mon Apr  3 20:36:14 2023 +0000
Commit:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Mon Apr  3 20:36:14 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4bc6ac52

sci-electronics/labone: add postinst and postrm

Closes: https://bugs.gentoo.org/843308
Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>

 ...ne-21.08.20515-r1.ebuild => labone-21.08.20515-r2.ebuild} | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/sci-electronics/labone/labone-21.08.20515-r1.ebuild 
b/sci-electronics/labone/labone-21.08.20515-r2.ebuild
similarity index 95%
rename from sci-electronics/labone/labone-21.08.20515-r1.ebuild
rename to sci-electronics/labone/labone-21.08.20515-r2.ebuild
index 0c0c263143ff..679237f6487e 100644
--- a/sci-electronics/labone/labone-21.08.20515-r1.ebuild
+++ b/sci-electronics/labone/labone-21.08.20515-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -83,3 +83,13 @@ src_install() {
 
        udev_dorules Installer/udev/55-zhinst.rules
 }
+
+pkg_postinst() {
+       xdg_pkg_postinst
+       udev_reload
+}
+
+pkg_postrm() {
+       xdg_pkg_postrm
+       udev_reload
+}

Reply via email to