diff options
author | root <root@rshg054.dnsready.net> | 2012-01-27 23:15:06 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-01-27 23:15:06 +0000 |
commit | 2493f16093b14a81e949bd6a1b89724cb931807d (patch) | |
tree | b93ed56dddfb9e067d0e29e363bc8e98286b9ac8 /staging/plotutils/plotutils.install | |
parent | 3741146d50cb93e8985f8aac937e36d35ee76446 (diff) |
Fri Jan 27 23:15:06 UTC 2012
Diffstat (limited to 'staging/plotutils/plotutils.install')
-rw-r--r-- | staging/plotutils/plotutils.install | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/staging/plotutils/plotutils.install b/staging/plotutils/plotutils.install new file mode 100644 index 000000000..d3d033e0c --- /dev/null +++ b/staging/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 +} |