#! /bin/sh
set -e

if [ "$1" = purge ]; then
	rm -f /etc/qcontrol.conf /etc/qcontrol.conf.dpkg*
fi

if dpkg-maintscript-helper supports rm_conffile; then
    dpkg-maintscript-helper rm_conffile \
        /etc/default/qcontrol 0.5.1-4~ qcontrol -- "$@"
fi

#DEBHELPER#
