diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2005-11-25 03:56:42 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2005-11-25 03:56:42 +0000 |
commit | 4988f2169df0de293b14313610de3c2edabba313 (patch) | |
tree | 026bdbf8a04adcb533c27daaccb4394bef339f31 /games/formido/pkg-install | |
parent | f5f70372a9ae2532e3b680098080e553b114ed96 (diff) | |
download | ports-4988f2169df0de293b14313610de3c2edabba313.tar.gz ports-4988f2169df0de293b14313610de3c2edabba313.zip |
Notes
Diffstat (limited to 'games/formido/pkg-install')
-rw-r--r-- | games/formido/pkg-install | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/games/formido/pkg-install b/games/formido/pkg-install new file mode 100644 index 000000000000..e7f51e0cff41 --- /dev/null +++ b/games/formido/pkg-install @@ -0,0 +1,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" |