#!/bin/sh

set -e

SCOREFILE='/var/games/rockdodger.scores'

touch "$SCOREFILE"
chmod 664 "$SCOREFILE"
chown root:games "$SCOREFILE"

if [ "$1" = "configure" ] && [ -x "`which update-menus 2> /dev/null`" ]
then
	update-menus
fi

exit 0
