freebsd-ports/games/greed/pkg-install

10 lines
194 B
Plaintext
Raw Normal View History

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