summaryrefslogtreecommitdiffstats
path: root/abs/core/autoconf/autoconf.install
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/autoconf/autoconf.install')
-rw-r--r--abs/core/autoconf/autoconf.install8
1 files changed, 4 insertions, 4 deletions
diff --git a/abs/core/autoconf/autoconf.install b/abs/core/autoconf/autoconf.install
index 6440ec6..7f3a099 100644
--- a/abs/core/autoconf/autoconf.install
+++ b/abs/core/autoconf/autoconf.install
@@ -2,8 +2,9 @@ infodir=/usr/share/info
filelist=(autoconf.info)
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,9 +13,8 @@ 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
}
-
-# vim:set ts=2 sw=2 et: