summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/binutils/binutils.install
diff options
context:
space:
mode:
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: