summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/libgcrypt/libgcrypt.install
diff options
context:
space:
mode:
authorCecil Hugh Watson <knoppmyth@gmail.com>2009-05-02 00:49:58 (GMT)
committerCecil Hugh Watson <knoppmyth@gmail.com>2009-05-02 00:49:58 (GMT)
commit1f70585d4abb80a2cc47316ab2b4851637939997 (patch)
tree4435740ad96c057ee9dce9458b9c56bf6ce0c73c /abs/core-testing/libgcrypt/libgcrypt.install
parent3a0c305fe94bf308401db48db087b81d88231bfa (diff)
downloadlinhes_pkgbuild-1f70585d4abb80a2cc47316ab2b4851637939997.zip
linhes_pkgbuild-1f70585d4abb80a2cc47316ab2b4851637939997.tar.gz
linhes_pkgbuild-1f70585d4abb80a2cc47316ab2b4851637939997.tar.bz2
Latest versions.
Diffstat (limited to 'abs/core-testing/libgcrypt/libgcrypt.install')
-rw-r--r--abs/core-testing/libgcrypt/libgcrypt.install2
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