summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/libtool/libtool.install
diff options
context:
space:
mode:
authorCecil Hugh Watson <knoppmyth@gmail.com>2010-09-04 23:47:29 (GMT)
committerCecil Hugh Watson <knoppmyth@gmail.com>2010-09-04 23:47:29 (GMT)
commit4efbd953921069c46d21a0ed490cf9e9e88161f1 (patch)
treeb7295fa6a2f027e317e96973b66550f7236dd91b /abs/core-testing/libtool/libtool.install
parentc2d8a1e536dd0820041baa03da35a4eb1c79e768 (diff)
downloadlinhes_pkgbuild-4efbd953921069c46d21a0ed490cf9e9e88161f1.zip
linhes_pkgbuild-4efbd953921069c46d21a0ed490cf9e9e88161f1.tar.gz
linhes_pkgbuild-4efbd953921069c46d21a0ed490cf9e9e88161f1.tar.bz2
libtool:Bumped/Updated for LinHES 7.
Diffstat (limited to 'abs/core-testing/libtool/libtool.install')
-rw-r--r--abs/core-testing/libtool/libtool.install6
1 files changed, 4 insertions, 2 deletions
diff --git a/abs/core-testing/libtool/libtool.install b/abs/core-testing/libtool/libtool.install
index 1794742..424c8cb 100644
--- a/abs/core-testing/libtool/libtool.install
+++ b/abs/core-testing/libtool/libtool.install
@@ -2,8 +2,9 @@ infodir=/usr/share/info
filelist=(libtool.info libtool.info-1 libtool.info-2)
post_install() {
+ [ -x usr/bin/install-info ] || return 0
for file in ${filelist[@]}; do
- install-info $infodir/$file $infodir/dir 2> /dev/null
+ install-info $infodir/$file.gz $infodir/dir 2> /dev/null
done
}
@@ -12,8 +13,9 @@ 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
+ install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null
done
}