summaryrefslogtreecommitdiff
path: root/games/greed/pkg-install
diff options
context:
space:
mode:
authorWill Andrews <will@FreeBSD.org>2001-04-07 05:24:31 +0000
committerWill Andrews <will@FreeBSD.org>2001-04-07 05:24:31 +0000
commitcba19b1b911dc59caa4fa56fd3c3707cd2d546e0 (patch)
tree2caacbdc081fab680c73f7b2235614f7123d9a95 /games/greed/pkg-install
parentAdd wmfishtime 1.1, a time/date applet for WindowMaker with fishes (diff)
Add greed 3.3, a text puzzle game with the aim of clearing the game
field. PR: 26294 Submitted by: Mark Pulford «mark@kyne.com.au>
Notes
Notes: svn path=/head/; revision=41001
Diffstat (limited to 'games/greed/pkg-install')
-rw-r--r--games/greed/pkg-install9
1 files changed, 9 insertions, 0 deletions
diff --git a/games/greed/pkg-install b/games/greed/pkg-install
new file mode 100644
index 000000000000..d891db4686b7
--- /dev/null
+++ b/games/greed/pkg-install
@@ -0,0 +1,9 @@
+#!/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