#!/bin/sh
set -e

rm -R /var/spool/gnuboat

if [ "$(ls -A /var/lib/gnuboat/)" ]; then
	# do not remove the data directory
	echo "Your data directory is not empty. Leaving the data directory untouched!"
else
	rm -R /var/lib/gnuboat/
fi

#DEBHELPER#

exit 0
