blob: 9587d65b8106b59e40c3b89ee541d62178de5a28 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
#!/bin/sh
FILE="/var/games/sokoban"
[ "$2" != "POST-INSTALL" -o -f "$FILE" ] && exit 0
echo "===> Creating initial high score file $FILE"
dd if=/dev/zero of=$FILE bs=1 count=2
chmod 664 $FILE
chown root.games $FILE
|