diff options
author | root <root@rshg054.dnsready.net> | 2012-06-07 00:01:55 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-06-07 00:01:55 +0000 |
commit | 334c2a7916a80d08b1c216cfbf02135e64891632 (patch) | |
tree | d5ed69695fb4da7349d218aa56fa4403017b7e9c /testing/bison/bison.install | |
parent | 664b1c2195b2884102cc2d5a56a13702f8ee44fe (diff) |
Thu Jun 7 00:01:54 UTC 2012
Diffstat (limited to 'testing/bison/bison.install')
-rw-r--r-- | testing/bison/bison.install | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/testing/bison/bison.install b/testing/bison/bison.install new file mode 100644 index 000000000..0081a194f --- /dev/null +++ b/testing/bison/bison.install @@ -0,0 +1,16 @@ +infodir=usr/share/info +file=bison.info.gz + +post_install() { + [ -x usr/bin/install-info ] || return 0 + install-info $infodir/$file $infodir/dir 2> /dev/null +} + +post_upgrade() { + post_install $1 +} + +pre_remove() { + [ -x usr/bin/install-info ] || return 0 + install-info --delete $infodir/$file $infodir/dir 2> /dev/null +} |