blob: a26303a0056a07f725167f230b9f43a2e383dd1d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
#!/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
|