#!/bin/sh -e
# Debian smail postrm script
# (c) 1998 Soenke Lange soenke@escher.north.de
#     2000 Adrian Bunk bunk@fs.tum.de

if [ $1 = purge ]; 
then
       if [ -d /etc/smail ]; then rm -rf /etc/smail; fi
       if [ -f /etc/cron.daily/smail ]; then rm /etc/cron.daily/smail; fi
       if [ -f /var/spool/cron/crontabs/mail ]; then rm /var/spool/cron/crontabs/mail; fi
       if [ -d /var/spool/smail ]; then rm -rf /var/spool/smail; fi
       if [ -d /var/log/smail ]; then rm -rf /var/log/smail; fi
fi

#DEBHELPER#
