summaryrefslogtreecommitdiffstats
path: root/abs/core/gcc/gcc.install
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/gcc/gcc.install')
-rw-r--r--abs/core/gcc/gcc.install8
1 files changed, 5 insertions, 3 deletions
diff --git a/abs/core/gcc/gcc.install b/abs/core/gcc/gcc.install
index 1ad170c..83d89b0 100644
--- a/abs/core/gcc/gcc.install
+++ b/abs/core/gcc/gcc.install
@@ -1,9 +1,10 @@
infodir=/usr/share/info
-filelist=(cpp.info cppinternals.info gcc.info gccinstall.info gccint.info gfortran.info libgomb.info treelang.info)
+filelist=(cpp.info cppinternals.info gcc.info gccinstall.info gccint.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
}