From d5d697136e6d703fa618b3fb08915eef50d4d4de Mon Sep 17 00:00:00 2001 From: root Date: Sat, 26 Nov 2011 23:14:49 +0000 Subject: Sat Nov 26 23:14:49 UTC 2011 --- extra/enblend-enfuse/enblend-enfuse.install | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'extra/enblend-enfuse/enblend-enfuse.install') 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 -- cgit v1.2.3-54-g00ecf