diff options
Diffstat (limited to 'abs/extra/dejagnu/dejagnu.install')
-rw-r--r-- | abs/extra/dejagnu/dejagnu.install | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/abs/extra/dejagnu/dejagnu.install b/abs/extra/dejagnu/dejagnu.install new file mode 100644 index 0000000..0e3c430 --- /dev/null +++ b/abs/extra/dejagnu/dejagnu.install @@ -0,0 +1,15 @@ +infodir=usr/share/info + +post_install() { + [ -x usr/bin/install-info ] || return 0 + install-info $infodir/dejagnu.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/dejagnu.info.gz $infodir/dir 2> /dev/null +} |