summaryrefslogtreecommitdiffstats
path: root/abs/core/automake/automake.install
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-08-06 22:28:43 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-08-06 22:28:43 (GMT)
commitbed9218f521cfd8631017f995aa5bdb4f2bd67aa (patch)
treee88eb47cce9fb2d8d212d2969c63ea8ab6229424 /abs/core/automake/automake.install
parent199b067c0b36f2f460c547481858c29e3c7fda81 (diff)
downloadlinhes_pkgbuild-bed9218f521cfd8631017f995aa5bdb4f2bd67aa.zip
linhes_pkgbuild-bed9218f521cfd8631017f995aa5bdb4f2bd67aa.tar.gz
linhes_pkgbuild-bed9218f521cfd8631017f995aa5bdb4f2bd67aa.tar.bz2
automake 1.12.2
Diffstat (limited to 'abs/core/automake/automake.install')
-rw-r--r--abs/core/automake/automake.install6
1 files changed, 4 insertions, 2 deletions
diff --git a/abs/core/automake/automake.install b/abs/core/automake/automake.install
index a1030e5..10c2f2d 100644
--- a/abs/core/automake/automake.install
+++ b/abs/core/automake/automake.install
@@ -2,8 +2,9 @@ infodir=/usr/share/info
filelist=(automake.info automake.info-1 automake.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
}