blob: aad6adcbe46f1f8142a0dd19d2ff45f01d337209 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
#!/bin/sh
SCOREDIR="/var/games"
SCOREFILE="/var/games/dd2-hiscore"
[ "$2" != "POST-INSTALL" -o -f "$SCOREFILE" ] && exit 0
mkdir -p $SCOREDIR
touch $SCOREFILE
chown root:games $SCOREFILE
chmod 664 $SCOREFILE
|