diff options
Diffstat (limited to 'abs/core-testing/libgcrypt/libgcrypt.install')
-rw-r--r-- | abs/core-testing/libgcrypt/libgcrypt.install | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/abs/core-testing/libgcrypt/libgcrypt.install b/abs/core-testing/libgcrypt/libgcrypt.install index 86de0a5..81547f5 100644 --- a/abs/core-testing/libgcrypt/libgcrypt.install +++ b/abs/core-testing/libgcrypt/libgcrypt.install @@ -2,6 +2,7 @@ infodir=/usr/share/info filelist=(gcrypt.info) 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 |