if [ "$1" == "purge" -a -x /usr/sbin/register-window-manager ] ; then register-window-manager --remove #WM# fi