summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/binutils/binutils.install
diff options
context:
space:
mode:
authorCecil Hugh Watson <knoppmyth@gmail.com>2010-09-04 22:51:22 (GMT)
committerCecil Hugh Watson <knoppmyth@gmail.com>2010-09-04 22:51:22 (GMT)
commit85c9e3866b49b924455f6964c6b93c9b104be708 (patch)
treeccc0f6a379d5850c6c8340b9883c471f8dc27ec4 /abs/core-testing/binutils/binutils.install
parent400b16afef123438f299a04d8ab1bc150f850304 (diff)
downloadlinhes_pkgbuild-85c9e3866b49b924455f6964c6b93c9b104be708.zip
linhes_pkgbuild-85c9e3866b49b924455f6964c6b93c9b104be708.tar.gz
linhes_pkgbuild-85c9e3866b49b924455f6964c6b93c9b104be708.tar.bz2
binutils:Bumped/Updated for LinHES 7.
Diffstat (limited to 'abs/core-testing/binutils/binutils.install')
-rw-r--r--abs/core-testing/binutils/binutils.install13
1 files changed, 5 insertions, 8 deletions
diff --git a/abs/core-testing/binutils/binutils.install b/abs/core-testing/binutils/binutils.install
index a1e762a..51781e7 100644
--- a/abs/core-testing/binutils/binutils.install
+++ b/abs/core-testing/binutils/binutils.install
@@ -1,20 +1,17 @@
infodir=/usr/share/info
filelist=(as.info bfd.info binutils.info configure.info gprof.info ld.info standards.info)
-post_install() {
+post_upgrade() {
+ [ -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
}
-post_upgrade() {
- post_install $1
-}
-
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: