mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-26 00:55:14 +00:00
893da9ef27
PR: 176572 Submitted by: ports fury
12 lines
214 B
Bash
12 lines
214 B
Bash
#!/bin/sh
|
|
|
|
SCOREDIR="/var/games"
|
|
SCOREFILE="/var/games/golddig.scores"
|
|
|
|
[ "$2" != "POST-INSTALL" -o -f "$SCOREFILE" ] && exit 0
|
|
|
|
mkdir -p $SCOREDIR
|
|
touch $SCOREFILE
|
|
chown root:games $SCOREFILE
|
|
chmod 664 $SCOREFILE
|