aboutsummaryrefslogtreecommitdiff
path: root/debian/mauvealert-server.postinst
diff options
context:
space:
mode:
authorPatrick J Cherry <patrick@bytemark.co.uk>2012-05-02 15:24:22 +0100
committerPatrick J Cherry <patrick@bytemark.co.uk>2012-05-02 15:24:22 +0100
commit2e0b89b33d4c9944440bba49e6926a51b46d02c3 (patch)
tree2a28075d9b7459b469afb1988572cb61f4221881 /debian/mauvealert-server.postinst
parente55096b063720e0be4ca8d774095d2f6dfb7c086 (diff)
parentc697cea61321a8b292b4e353afc9dbff8a552b94 (diff)
merge
Diffstat (limited to 'debian/mauvealert-server.postinst')
-rw-r--r--debian/mauvealert-server.postinst8
1 files changed, 8 insertions, 0 deletions
diff --git a/debian/mauvealert-server.postinst b/debian/mauvealert-server.postinst
index 3d1c09a..967aa8d 100644
--- a/debian/mauvealert-server.postinst
+++ b/debian/mauvealert-server.postinst
@@ -17,4 +17,12 @@ for i in log lib ; do
chown -R $RUNASUSER:nogroup /var/$i/mauvealert
done
+#
+# Symlink jquery libraries in.
+#
+if [ -e /usr/share/javascript/jquery -a ! -e /usr/share/mauvealert/static/javascript/jquery ] ; then
+ ln -s /usr/share/javascript/jquery /usr/share/mauvealert/static/javascript/
+fi
+
+
#DEBHELPER#