#!/bin/sh -e
# It's VERY important this only hammed on removes.
if [ "$1" = "remove" ]; then
	if [ -x /usr/sbin/update-xaw-wrappers ] ; then
		/usr/sbin/update-xaw-wrappers --force --off
	fi
	rm -f /var/lib/xaw-wrappers/update-wrappers-history
fi
