aboutsummaryrefslogtreecommitdiff
path: root/debian/mauvealert-server.postrm
blob: d54e402ecd2a494ca8aef4bd1180afbdb026550e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/bash

set -e

RUNASUSER=mauvealert

if [ "$1" = "purge" ] ; then
  ##
  # Remove the system user
  ##
  deluser --system $RUNASUSER > /dev/null

  ##
  # remove default directories
  ##
  rm -rf /var/log/mauvealert/
  rm -rf /var/lib/mauvealert/
fi

#DEBHELPER#