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