aboutsummaryrefslogtreecommitdiffstats
path: root/games/nighthawk/pkg-install
blob: be09075f42a36dce5791585f9b4fa274ad9d0b49 (plain) (blame)
1
2
3
4
5
6
7
8
9
#!/bin/sh

FILE="/var/games/nighthawk.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