#!/bin/sh

set -e

STAMP=/var/lib/update-notifier/dpkg-run-stamp

if [ "$1" = purge -a -f $STAMP ]; then
	rm $STAMP
fi

#DEBHELPER#
# Remove previosly installed ubuntu-advantage-notification
rm -rf /usr/lib/update-notifier/ubuntu-advantage-notification && rm -rf /etc/xdg/autostart/ubuntu-advantage-notification.desktop

#DEBHELPER#
