diff options
Diffstat (limited to 'extra/enblend-enfuse/enblend-enfuse.install')
-rw-r--r-- | extra/enblend-enfuse/enblend-enfuse.install | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/extra/enblend-enfuse/enblend-enfuse.install b/extra/enblend-enfuse/enblend-enfuse.install index 0ba358878..24ea28a4e 100644 --- a/extra/enblend-enfuse/enblend-enfuse.install +++ b/extra/enblend-enfuse/enblend-enfuse.install @@ -1,7 +1,8 @@ -infodir=/usr/share/info -filelist=(enblend.info enfuse-focus-stacking.info enfuse.info) +infodir=usr/share/info +filelist=(enblend.info enfuse.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 @@ -12,6 +13,7 @@ post_upgrade() { } 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 |