mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-02 01:20:54 +00:00
e678f97bcc
currently runs in Linux, Windows, and DOS. It features advanced bodypart and material handling, multi-colored lighting and, above all, deep gameplay. PR: ports/88428 Submitted by: Dmitry Marakasov <amdmi3@mail.ru>
16 lines
279 B
Bash
16 lines
279 B
Bash
#!/bin/sh
|
|
#
|
|
# $FreeBSD$
|
|
|
|
STATEDIR="/var/games/ivan"
|
|
|
|
[ "$2" != "POST-INSTALL" -o -d "$SCOREDIR" ] && exit 0
|
|
|
|
echo "Creating state directory..."
|
|
|
|
mkdir "$STATEDIR"
|
|
touch "$STATEDIR/ivan-highscore.scores"
|
|
mkdir "$STATEDIR/Bones"
|
|
chgrp -R games "$STATEDIR"
|
|
chmod -R g+w "$STATEDIR"
|