summaryrefslogtreecommitdiff
path: root/debian/lib64stdc++CXX.postinst
diff options
context:
space:
mode:
authordoko <doko@6ca36cf4-e1d1-0310-8c6f-e303bb2178ca>2011-12-16 00:00:43 +0000
committerdoko <doko@6ca36cf4-e1d1-0310-8c6f-e303bb2178ca>2011-12-16 00:00:43 +0000
commit1ed753c7d69c8340eebc068b1d5b31d2554ce811 (patch)
treef16299769978d52cdec478852450851575bca99a /debian/lib64stdc++CXX.postinst
downloadgcc-47-1ed753c7d69c8340eebc068b1d5b31d2554ce811.tar.gz
- create a gcc-4.7 branch
git-svn-id: svn://svn.debian.org/svn/gcccvs/branches/sid/gcc-4.7@5753 6ca36cf4-e1d1-0310-8c6f-e303bb2178ca
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#