#!/bin/sh SCOREDIR="/var/games/tecnoballs" SCOREFILE="/var/games/tecnoballz/tecnoballz.hi" [ "$2" != "POST-INSTALL" -o -f "$SCOREFILE" ] && exit 0 echo "Creating hiscore directory..." mkdir -p $SCOREDIR touch $SCOREFILE chgrp -R games $SCOREDIR chmod g+w $SCOREFILE