diff options
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 +} |