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