summaryrefslogtreecommitdiff
path: root/debian/lib64stdc++CXX.postinst
diff options
context:
space:
mode:
Diffstat (limited to 'debian/lib64stdc++CXX.postinst')
-rw-r--r--debian/lib64stdc++CXX.postinst12
1 files changed, 12 insertions, 0 deletions
diff --git a/debian/lib64stdc++CXX.postinst b/debian/lib64stdc++CXX.postinst
new file mode 100644
index 0000000..1c8e979
--- /dev/null
+++ b/debian/lib64stdc++CXX.postinst
@@ -0,0 +1,12 @@
+#! /bin/sh -e
+
+case "$1" in
+ configure)
+ docdir=/usr/share/doc/lib64stdc++@CXX@
+ if [ -d $docdir ] && [ ! -h $docdir ]; then
+ rm -rf $docdir
+ ln -s gcc-@BV@-base $docdir
+ fi
+esac
+
+#DEBHELPER#