summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2023-04-03 22:36:14 +0200
committerAndreas K. Hüttel <dilfridge@gentoo.org>2023-04-03 22:36:14 +0200
commit4bc6ac52f670b36d747cee528cfe61e10ee2576b (patch)
treec3b3e1f6f57305ce77e7013846328b02d62f8372 /sci-electronics
parentapp-backup/tsm: update HOMEPAGE (diff)
downloadgentoo-4bc6ac52f670b36d747cee528cfe61e10ee2576b.tar.gz
gentoo-4bc6ac52f670b36d747cee528cfe61e10ee2576b.tar.bz2
gentoo-4bc6ac52f670b36d747cee528cfe61e10ee2576b.zip
sci-electronics/labone: add postinst and postrm
Closes: https://bugs.gentoo.org/843308 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
Diffstat (limited to 'sci-electronics')
-rw-r--r--sci-electronics/labone/labone-21.08.20515-r2.ebuild (renamed from sci-electronics/labone/labone-21.08.20515-r1.ebuild)12
1 files changed, 11 insertions, 1 deletions
diff --git a/sci-electronics/labone/labone-21.08.20515-r1.ebuild b/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
+}