1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00
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

10 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