summaryrefslogtreecommitdiff
path: root/testing/plotutils/plotutils.install
diff options
context:
space:
mode:
Diffstat (limited to 'testing/plotutils/plotutils.install')
-rw-r--r--testing/plotutils/plotutils.install15
1 files changed, 15 insertions, 0 deletions
diff --git a/testing/plotutils/plotutils.install b/testing/plotutils/plotutils.install
new file mode 100644
index 000000000..d3d033e0c
--- /dev/null
+++ b/testing/plotutils/plotutils.install
@@ -0,0 +1,15 @@
+infodir=usr/share/info
+
+post_install() {
+ [[ -x usr/bin/install-info ]] || return 0
+ install-info $infodir/plotutils.info.gz $infodir/dir 2> /dev/null
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+pre_remove() {
+ [[ -x usr/bin/install-info ]] || return 0
+ install-info --delete $infodir/plotutils.info.gz $infodir/dir 2> /dev/null
+}