summaryrefslogtreecommitdiff
path: root/autoscripts/postinst-doc
diff options
context:
space:
mode:
Diffstat (limited to 'autoscripts/postinst-doc')
-rw-r--r--autoscripts/postinst-doc5
1 files changed, 5 insertions, 0 deletions
diff --git a/autoscripts/postinst-doc b/autoscripts/postinst-doc
new file mode 100644
index 00000000..a4b000ba
--- /dev/null
+++ b/autoscripts/postinst-doc
@@ -0,0 +1,5 @@
+if [ "$1" = "configure" ]; then
+ if [ -d /usr/doc -a ! -e /usr/doc/#PACKAGE# -a -d /usr/share/doc/#PACKAGE# ]; then
+ ln -sf ../share/doc/#PACKAGE# /usr/doc/#PACKAGE#
+ fi
+fi