diff options
Diffstat (limited to 'extra/libffi/libffi.install')
-rw-r--r-- | extra/libffi/libffi.install | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/extra/libffi/libffi.install b/extra/libffi/libffi.install index 151b79b60..903bede10 100644 --- a/extra/libffi/libffi.install +++ b/extra/libffi/libffi.install @@ -1,7 +1,8 @@ -infodir=/usr/share/info +infodir=usr/share/info filelist=(libffi.info.gz) post_install() { + [[ -x usr/bin/install-info ]] || return 0 for file in ${filelist[@]}; do install-info $infodir/$file $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 $infodir/dir 2> /dev/null done |