summaryrefslogtreecommitdiff
path: root/debian/libgcj-common.postinst
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2017-05-13 13:54:49 +0300
committerIgor Pashev <pashev.igor@gmail.com>2017-05-13 13:54:49 +0300
commit42156b5190f4fa150e1fab6777eb81e69d4db8c9 (patch)
tree3bf47de81cf1f89892789535a036d2d55d93a136 /debian/libgcj-common.postinst
downloadgcc-6-debian.tar.gz
Imported gcc-6 (6.3.0-17)debian/6.3.0-17debian
Diffstat (limited to 'debian/libgcj-common.postinst')
-rw-r--r--debian/libgcj-common.postinst12
1 files changed, 12 insertions, 0 deletions
diff --git a/debian/libgcj-common.postinst b/debian/libgcj-common.postinst
new file mode 100644
index 0000000..de6d589
--- /dev/null
+++ b/debian/libgcj-common.postinst
@@ -0,0 +1,12 @@
+#! /bin/sh -e
+
+case "$1" in
+ configure)
+ docdir=/usr/share/doc/libgcj-common
+ if [ -d $docdir ] && [ ! -h $docdir ]; then
+ rm -rf $docdir
+ ln -s gcj-@BV@-base $docdir
+ fi
+esac
+
+#DEBHELPER#