summaryrefslogtreecommitdiff
path: root/debian/libstdc++CXX.postinst
diff options
context:
space:
mode:
authordoko <doko@6ca36cf4-e1d1-0310-8c6f-e303bb2178ca>2015-01-20 11:55:49 +0000
committerdoko <doko@6ca36cf4-e1d1-0310-8c6f-e303bb2178ca>2015-01-20 11:55:49 +0000
commit227ef40ee3f5b76329437be96fc7306be872c5fa (patch)
tree3bacf37cc9d3fedc71441072ed87cfe825a9887b /debian/libstdc++CXX.postinst
downloadgcc-5-227ef40ee3f5b76329437be96fc7306be872c5fa.tar.gz
- branch for GCC 5
git-svn-id: svn://anonscm.debian.org/gcccvs/branches/sid/gcc-5@7781 6ca36cf4-e1d1-0310-8c6f-e303bb2178ca
Diffstat (limited to 'debian/libstdc++CXX.postinst')
-rw-r--r--debian/libstdc++CXX.postinst12
1 files changed, 12 insertions, 0 deletions
diff --git a/debian/libstdc++CXX.postinst b/debian/libstdc++CXX.postinst
new file mode 100644
index 0000000..3cef3fb
--- /dev/null
+++ b/debian/libstdc++CXX.postinst
@@ -0,0 +1,12 @@
+#! /bin/sh -e
+
+case "$1" in
+ configure)
+ docdir=/usr/share/doc/libstdc++@CXX@
+ if [ -d $docdir ] && [ ! -h $docdir ]; then
+ rm -rf $docdir
+ ln -s gcc-@BV@-base $docdir
+ fi
+esac
+
+#DEBHELPER#