#!/bin/sh

set -e

if [ -e "/usr/share/debconf/confmodule" ]; then
  . /usr/share/debconf/confmodule
fi

if [ "$1" = "purge" ]; then
  echo -n "Removing qpidd configuration... "
  rm -f /etc/qpid/qpidd.conf 2>/dev/null || true
  rm -r /etc/qpid/qpidd.acl 2>/dev/null || true
  rm -rf /etc/qpid/sasl 2>/dev/null || true
  echo "done."
fi

#DEBHELPER#

exit 0
