#! /bin/sh # $Id$ # $URL$ set -e case $1 in purge) if id harvest >/dev/null 2>&1 then deluser --system --quiet harvest fi if test -d /var/lib/harvester then rmdir --ignore-fail-on-non-empty /var/lib/harvester/done /var/lib/harvester/inbox /var/lib/harvester/database rmdir /var/lib/harvester || : fi esac # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# exit 0