summaryrefslogtreecommitdiff
path: root/multilib/gcc-multilib/gcc-libs.install
diff options
context:
space:
mode:
Diffstat (limited to 'multilib/gcc-multilib/gcc-libs.install')
-rw-r--r--multilib/gcc-multilib/gcc-libs.install12
1 files changed, 7 insertions, 5 deletions
diff --git a/multilib/gcc-multilib/gcc-libs.install b/multilib/gcc-multilib/gcc-libs.install
index b5fbf9211..23553b8f0 100644
--- a/multilib/gcc-multilib/gcc-libs.install
+++ b/multilib/gcc-multilib/gcc-libs.install
@@ -1,14 +1,16 @@
infodir=usr/share/info
-file="libgomp.info"
+filelist=(libgomp.info libquadmath.info)
post_upgrade() {
[ -x usr/bin/install-info ] || return 0
- install-info $infodir/$file.gz $infodir/dir 2> /dev/null
+ for file in ${filelist[@]}; do
+ install-info $infodir/$file.gz $infodir/dir 2> /dev/null
+ done
}
pre_remove() {
[ -x usr/bin/install-info ] || return 0
- install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null
+ for file in ${filelist[@]}; do
+ install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null
+ done
}
-
-# vim:set ts=2 sw=2 et: