summaryrefslogtreecommitdiff
path: root/multilib/gcc-multilib/gcc-libs.install
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-04-27 22:24:53 +0000
committerroot <root@rshg047.dnsready.net>2011-04-27 22:24:53 +0000
commit18d6577d511b9a1ac36eaae50060133a401e42a3 (patch)
treef681f9444a7a0a95916de40af82d3b805d5fb8d3 /multilib/gcc-multilib/gcc-libs.install
parent69e1fada8bdc9588d0a3d8bc3403fa809d809a84 (diff)
Wed Apr 27 22:24:53 UTC 2011
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: