diff options
author | Patrick J Cherry <patrick@bytemark.co.uk> | 2012-05-01 16:02:48 +0100 |
---|---|---|
committer | Patrick J Cherry <patrick@bytemark.co.uk> | 2012-05-01 16:02:48 +0100 |
commit | 7e938e7f24e14bd286db7d9ba211c2c2ee1239c5 (patch) | |
tree | 98b0f34cbc4b8e4a0a69e450bd1e6845094b1afa /debian/mauvealert-server.postinst | |
parent | 2257700f99180255ef708b379a2bf74136d97ab1 (diff) |
Symlink jquery if possible in server postinst.
Diffstat (limited to 'debian/mauvealert-server.postinst')
-rw-r--r-- | debian/mauvealert-server.postinst | 8 |
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# |