summaryrefslogtreecommitdiffstats
path: root/abs/core/m4/m4.install
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-08-07 17:35:05 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-08-07 17:35:05 (GMT)
commitd09de6629ad05b3ad935ac79e7ed6c7fe46e3cf2 (patch)
treeb7a478dc4760a22f1af08e0a66b0faf7407502e3 /abs/core/m4/m4.install
parent21bdeae7e3fd523f93d55bcda29e77137a28622f (diff)
downloadlinhes_pkgbuild-d09de6629ad05b3ad935ac79e7ed6c7fe46e3cf2.zip
linhes_pkgbuild-d09de6629ad05b3ad935ac79e7ed6c7fe46e3cf2.tar.gz
linhes_pkgbuild-d09de6629ad05b3ad935ac79e7ed6c7fe46e3cf2.tar.bz2
m4 1.4.16
Diffstat (limited to 'abs/core/m4/m4.install')
-rw-r--r--abs/core/m4/m4.install10
1 files changed, 5 insertions, 5 deletions
diff --git a/abs/core/m4/m4.install b/abs/core/m4/m4.install
index 7954ba9..be41381 100644
--- a/abs/core/m4/m4.install
+++ b/abs/core/m4/m4.install
@@ -1,9 +1,10 @@
-infodir=/usr/share/info
+infodir=usr/share/info
filelist=(m4.info m4.info-1 m4.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,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: