1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/games/nighthawk/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

10 lines
202 B
Bash

#!/bin/sh
FILE="/var/games/nighthawk.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