summaryrefslogtreecommitdiff
path: root/extra/plotutils/plotutils.install
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-02-06 23:14:50 +0000
committerroot <root@rshg054.dnsready.net>2012-02-06 23:14:50 +0000
commit1fa6edfba8d1e31ca1c0d59e8202cd3c62ccf393 (patch)
tree8d7ccc2dc9d08a4c3cde26aa01c887e9a0fc2fa1 /extra/plotutils/plotutils.install
parentbdb5b3e66f6afa586ea147f69af5e4ba388f7615 (diff)
Mon Feb 6 23:14:50 UTC 2012
Diffstat (limited to 'extra/plotutils/plotutils.install')
-rw-r--r--extra/plotutils/plotutils.install8
1 files changed, 5 insertions, 3 deletions
diff --git a/extra/plotutils/plotutils.install b/extra/plotutils/plotutils.install
index dd3ffb74f..d3d033e0c 100644
--- a/extra/plotutils/plotutils.install
+++ b/extra/plotutils/plotutils.install
@@ -1,7 +1,8 @@
-infodir=/usr/share/info
+infodir=usr/share/info
post_install() {
- install-info $infodir/plotutils.info $infodir/dir 2> /dev/null
+ [[ -x usr/bin/install-info ]] || return 0
+ install-info $infodir/plotutils.info.gz $infodir/dir 2> /dev/null
}
post_upgrade() {
@@ -9,5 +10,6 @@ post_upgrade() {
}
pre_remove() {
- install-info --delete $infodir/plotutils.info $infodir/dir 2> /dev/null
+ [[ -x usr/bin/install-info ]] || return 0
+ install-info --delete $infodir/plotutils.info.gz $infodir/dir 2> /dev/null
}