diff options
author | root <root@rshg054.dnsready.net> | 2011-10-02 23:14:32 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-10-02 23:14:32 +0000 |
commit | ad84169d66d20378d28533c216b73c9a6646d6d7 (patch) | |
tree | 2746e102687e113dd81d632b51933b62ff458934 /extra/liblouis/liblouis.install | |
parent | 0f78806d775c4d46c649425fcb67964d53531db8 (diff) |
Sun Oct 2 23:14:32 UTC 2011
Diffstat (limited to 'extra/liblouis/liblouis.install')
-rw-r--r-- | extra/liblouis/liblouis.install | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/extra/liblouis/liblouis.install b/extra/liblouis/liblouis.install new file mode 100644 index 000000000..2a05ba27a --- /dev/null +++ b/extra/liblouis/liblouis.install @@ -0,0 +1,20 @@ +infodir=usr/share/info +filelist=(liblouis.info) + +post_install() { + [ -x usr/bin/install-info ] || return 0 + for file in ${filelist[@]}; do + install-info $infodir/$file.gz $infodir/dir 2> /dev/null + done +} + +post_upgrade() { + post_install $1 +} + +pre_remove() { + [ -x usr/bin/install-info ] || return 0 + for file in ${filelist[@]}; do + install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null + done +} |