diff options
author | root <root@rshg047.dnsready.net> | 2011-04-27 22:24:53 +0000 |
---|---|---|
committer | root <root@rshg047.dnsready.net> | 2011-04-27 22:24:53 +0000 |
commit | 18d6577d511b9a1ac36eaae50060133a401e42a3 (patch) | |
tree | f681f9444a7a0a95916de40af82d3b805d5fb8d3 /extra/libisoburn/libisoburn.install | |
parent | 69e1fada8bdc9588d0a3d8bc3403fa809d809a84 (diff) |
Wed Apr 27 22:24:53 UTC 2011
Diffstat (limited to 'extra/libisoburn/libisoburn.install')
-rw-r--r-- | extra/libisoburn/libisoburn.install | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/extra/libisoburn/libisoburn.install b/extra/libisoburn/libisoburn.install new file mode 100644 index 000000000..7f8b83e67 --- /dev/null +++ b/extra/libisoburn/libisoburn.install @@ -0,0 +1,20 @@ +infodir=usr/share/info +filelist=(xorriso.info.gz xorrisofs.info.gz) + +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 +} |