#!/bin/sh

# $FreeBSD$

GAMESROOT=/var/games/emacs

if [ "$2" = "POST-INSTALL" ]; then
    umask 022
    mkdir -p $GAMESROOT
    touch $GAMESROOT/snake-scores
    touch $GAMESROOT/tetris-scores
    chown games $GAMESROOT
    chmod 775 $GAMESROOT
fi

exit 0
