freebsd-ports/games/xrot/pkg-install
2002-10-21 22:33:39 +00:00

10 lines
197 B
Bash

#!/bin/sh
FILE="/var/games/xrot.scores"
[ "$2" != "POST-INSTALL" -o -f "$FILE" ] && exit 0
echo "===> Creating initial high score file $FILE"
touch $FILE
chown root:games $FILE
chmod 664 $FILE