#! /bin/sh

set -e

case "$1" in
	purge)
		delgroup gluster || true
		userdel gluster || true
		rm -rf /var/log/glusterfs
		rm -rf /var/lib/glusterd
	;;
	remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
	;;
	*)
		echo "postrm called with unknown argument \`$1'" >&2
		exit 1
esac



exit 0
