summaryrefslogtreecommitdiffstats
path: root/packaging/default_files/postinst
diff options
context:
space:
mode:
authorFelix Endres2006-04-26 18:48:28 +0200
committerFelix Endres2006-04-26 18:48:28 +0200
commit0bc40f516178b20dbfefc574e47f2b2d85d68e20 (patch)
treee1d14441e250668b9ba5216055fcb3c39a5b34b7 /packaging/default_files/postinst
parentBoth scripts can now be called by nested symlinks (diff)
downloadcore-0bc40f516178b20dbfefc574e47f2b2d85d68e20.tar.gz
core-0bc40f516178b20dbfefc574e47f2b2d85d68e20.tar.xz
core-0bc40f516178b20dbfefc574e47f2b2d85d68e20.zip
Script and Data for automatic creation of a .deb package for Debian based systems
git-svn-id: http://svn.openslx.org/svn/openslx/ld4@196 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'packaging/default_files/postinst')
-rwxr-xr-xpackaging/default_files/postinst9
1 files changed, 9 insertions, 0 deletions
diff --git a/packaging/default_files/postinst b/packaging/default_files/postinst
new file mode 100755
index 00000000..daa52770
--- /dev/null
+++ b/packaging/default_files/postinst
@@ -0,0 +1,9 @@
+#!/bin/sh
+set -e
+#
+if [ "$1" = "configure" ]; then
+ if [ -d /usr/doc -a ! -e /usr/doc/dxs -a -d /usr/share/doc/dxs ]; then
+ ln -sf ../share/doc/dxs /usr/doc/dxs
+ fi
+fi
+#