summaryrefslogtreecommitdiff
path: root/debian/lib32stdc++CXX.postinst
diff options
context:
space:
mode:
authordoko <doko@6ca36cf4-e1d1-0310-8c6f-e303bb2178ca>2014-01-05 20:01:54 +0000
committerdoko <doko@6ca36cf4-e1d1-0310-8c6f-e303bb2178ca>2014-01-05 20:01:54 +0000
commit138a52602507a5824a02a0cfe23c483a88bee773 (patch)
tree9a1f79c16e6e6b2cfebbd6baae631422ef987453 /debian/lib32stdc++CXX.postinst
downloadgcc-49-138a52602507a5824a02a0cfe23c483a88bee773.tar.gz
- start 4.9
git-svn-id: svn://svn.debian.org/svn/gcccvs/branches/sid/gcc-4.9@7087 6ca36cf4-e1d1-0310-8c6f-e303bb2178ca
Diffstat (limited to 'debian/lib32stdc++CXX.postinst')
-rw-r--r--debian/lib32stdc++CXX.postinst12
1 files changed, 12 insertions, 0 deletions
diff --git a/debian/lib32stdc++CXX.postinst b/debian/lib32stdc++CXX.postinst
new file mode 100644
index 0000000..0ebbeb0
--- /dev/null
+++ b/debian/lib32stdc++CXX.postinst
@@ -0,0 +1,12 @@
+#! /bin/sh -e
+
+case "$1" in
+ configure)
+ docdir=/usr/share/doc/lib32stdc++@CXX@
+ if [ -d $docdir ] && [ ! -h $docdir ]; then
+ rm -rf $docdir
+ ln -s gcc-@BV@-base $docdir
+ fi
+esac
+
+#DEBHELPER#