diff options
author | Alex Young <alex@bytemark.co.uk> | 2015-03-31 10:05:46 +0100 |
---|---|---|
committer | Alex Young <alex@bytemark.co.uk> | 2015-03-31 10:05:46 +0100 |
commit | 4d9ca84e57dad6746eb0882b91171ccd69298807 (patch) | |
tree | 9e69f2bbd548ac4cccf5413aa0c093ef3b4adfaa /debian/mauvealert-server.postinst | |
parent | d9ce2fe346d17dad993b18dbb96b538f15e52282 (diff) |
Strip out debian metadata
Diffstat (limited to 'debian/mauvealert-server.postinst')
-rw-r--r-- | debian/mauvealert-server.postinst | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/debian/mauvealert-server.postinst b/debian/mauvealert-server.postinst deleted file mode 100644 index 967aa8d..0000000 --- a/debian/mauvealert-server.postinst +++ /dev/null @@ -1,28 +0,0 @@ -#!/bin/bash - -set -e - -## -# Add a mauve user -## -RUNASUSER=mauvealert - -adduser --system --no-create-home --home /nonexistent $RUNASUSER > /dev/null - -## -# Add default directories -## -for i in log lib ; do - mkdir -p /var/$i/mauvealert - 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# |