diff options
author | Mark Pulford <markp@FreeBSD.org> | 2002-06-05 09:59:57 +0000 |
---|---|---|
committer | Mark Pulford <markp@FreeBSD.org> | 2002-06-05 09:59:57 +0000 |
commit | e56553d416ef479503e1d556a7670775cfc1bbbc (patch) | |
tree | 21c689d83062182b5dae7bd83665510dc60183ee /games/sokoban/pkg-install | |
parent | Update to the latest, 0.21. This version contains many changes, (diff) |
Improved high score handling
Prompted by PR: 37338
Notes
Notes:
svn path=/head/; revision=60641
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 |