From 7e938e7f24e14bd286db7d9ba211c2c2ee1239c5 Mon Sep 17 00:00:00 2001 From: Patrick J Cherry Date: Tue, 1 May 2012 16:02:48 +0100 Subject: Symlink jquery if possible in server postinst. --- debian/mauvealert-server.postinst | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'debian/mauvealert-server.postinst') 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# -- cgit v1.2.1