#!/bin/sh -e

if [ -x "$(which update-menus 2> /dev/null)" ]
then
	update-menus
fi

if [ "$1" = purge ]
then
	rm -rf /var/games/pachi
fi

exit 0
