summaryrefslogtreecommitdiffstats
path: root/abs/core/gcc/gcc-libs.install
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/gcc/gcc-libs.install')
-rw-r--r--abs/core/gcc/gcc-libs.install14
1 files changed, 14 insertions, 0 deletions
diff --git a/abs/core/gcc/gcc-libs.install b/abs/core/gcc/gcc-libs.install
new file mode 100644
index 0000000..bd57efb
--- /dev/null
+++ b/abs/core/gcc/gcc-libs.install
@@ -0,0 +1,14 @@
+infodir=/usr/share/info
+file="libgomp.info"
+
+post_upgrade() {
+ [ -x usr/bin/install-info ] || return 0
+ install-info $infodir/$file.gz $infodir/dir 2> /dev/null
+}
+
+pre_remove() {
+ [ -x usr/bin/install-info ] || return 0
+ install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null
+}
+
+# vim:set ts=2 sw=2 et: