1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
#!/bin/bash set -e ## # Add a mauve user ## 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#