summaryrefslogtreecommitdiff
path: root/games/formido/pkg-install
blob: e7f51e0cff417b0324c1ccf6402e8a1681043f31 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh
#
# $FreeBSD$

HISCOREDIR="/var/games/formido"

[ "$2" != "POST-INSTALL" -o -e "$HISCOREDIR" ] && exit 0 

echo "Creating hiscore directory..."
mkdir -p "$HISCOREDIR"

chgrp games "$HISCOREDIR"
chmod g+w "$HISCOREDIR"