freebsd-ports/games/lexter/pkg-install
Yen-Ming Lee de70808b3b correct syntax of chown
PR:		48515
Submitted by:	Akihiro IIJIMA <aki@bsdclub.org>
Approved by:	markp (MAINTAINER)
2003-02-23 16:25:49 +00:00

9 lines
199 B
Bash

#!/bin/sh
FILE="/var/games/lexter.scores"
[ "$2" != "POST-INSTALL" -o -f "$FILE" ] && exit 0
echo "===> Creating initial high score file $FILE"
touch $FILE
chown root:games $FILE
chmod 664 $FILE