diff options
Diffstat (limited to 'games/sokoban/pkg-install')
-rw-r--r-- | games/sokoban/pkg-install | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/games/sokoban/pkg-install b/games/sokoban/pkg-install new file mode 100644 index 000000000000..9587d65b8106 --- /dev/null +++ b/games/sokoban/pkg-install @@ -0,0 +1,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 |