diff options
author | root <root@rshg054.dnsready.net> | 2012-02-06 23:14:50 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-02-06 23:14:50 +0000 |
commit | 1fa6edfba8d1e31ca1c0d59e8202cd3c62ccf393 (patch) | |
tree | 8d7ccc2dc9d08a4c3cde26aa01c887e9a0fc2fa1 /extra/plotutils/plotutils.install | |
parent | bdb5b3e66f6afa586ea147f69af5e4ba388f7615 (diff) |
Mon Feb 6 23:14:50 UTC 2012
Diffstat (limited to 'extra/plotutils/plotutils.install')
-rw-r--r-- | extra/plotutils/plotutils.install | 8 |
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 } |