mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-01 01:17:02 +00:00
c00a15fd54
PR: 26377 Submitted by: Mark Pulford <mark@kyne.com.au>
10 lines
197 B
Bash
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
|