#!/bin/sh
# postrm script for waagent
#
# see: dh_installdeb(1)

set -e

case "$1" in
    purge)
	if [ -f /etc/waagent.conf ]; then
		rm -f /etc/waagent.conf
	fi
	if [ -f /etc/waagent.conf.old ]; then
		rm -f /etc/waagent.conf.old
	fi
    ;;

    *)
        echo "postrm called with unknown argument \`$1'" >&2
        exit 1
    ;;
esac

#DEBHELPER#

exit 0
