#! /bin/sh
# postinst script for pysycache
set -e

case "$1" in
    configure)
	chown -R :games /var/games/pysycache
	chmod -R 775 /var/games/pysycache
    chown root:games /usr/share/games/pysycache/game.sh
    chmod 2755 /usr/share/games/pysycache/game.sh   
    chown root:games /usr/share/games/pysycache/pysycache.py
    chmod 2755 /usr/share/games/pysycache/pysycache.py
    ;;

    abort-upgrade|abort-remove|abort-deconfigure)

    ;;

    *)
        echo "postinst called with unknown argument \`$1'" >&2
        exit 1
    ;;
esac

#DEBHELPER#

exit 0


