aboutsummaryrefslogtreecommitdiffstats
path: root/games/xrot/pkg-install
blob: 97b40ce4723061067c4901a966a99a17c2fbd2c8 (plain) (blame)
1
2
3
4
5
6
7
8
9
#!/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