summaryrefslogtreecommitdiffstats
path: root/abs/core/ed/ed.install
diff options
context:
space:
mode:
authorMichael Hanson <hansonorders@verizon.net>2010-11-16 03:34:51 (GMT)
committerMichael Hanson <hansonorders@verizon.net>2010-11-16 03:34:51 (GMT)
commit971174824b58251880f02f2d57792c062e3f1aec (patch)
treece127d5c3852c1ff4aed297bdbb98c47c584b8ac /abs/core/ed/ed.install
parent9db18947b36b23e81d484abcb5bc0e3f2bb6098e (diff)
downloadlinhes_pkgbuild-971174824b58251880f02f2d57792c062e3f1aec.zip
linhes_pkgbuild-971174824b58251880f02f2d57792c062e3f1aec.tar.gz
linhes_pkgbuild-971174824b58251880f02f2d57792c062e3f1aec.tar.bz2
ed: up to latest
Diffstat (limited to 'abs/core/ed/ed.install')
-rw-r--r--abs/core/ed/ed.install6
1 files changed, 4 insertions, 2 deletions
diff --git a/abs/core/ed/ed.install b/abs/core/ed/ed.install
index 1a6e983..637807f 100644
--- a/abs/core/ed/ed.install
+++ b/abs/core/ed/ed.install
@@ -2,8 +2,9 @@ infodir=/usr/share/info
filelist=(ed.info red.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,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
}