aboutsummaryrefslogtreecommitdiff
path: root/games/xrot/pkg-install
diff options
context:
space:
mode:
authorWill Andrews <will@FreeBSD.org>2001-04-07 05:51:42 +0000
committerWill Andrews <will@FreeBSD.org>2001-04-07 05:51:42 +0000
commitc00a15fd548af7047799b9984402dcb92ba5bcdf (patch)
treea52f3e7fbd96d237230cc3bb320ae5c1751b870d /games/xrot/pkg-install
parent48b2f551aed7b6f9e56b062dbccc425656695375 (diff)
Add xrot 1.3.2, a falling ball puzzle game for X.
PR: 26377 Submitted by: Mark Pulford <mark@kyne.com.au>
Notes
Notes: svn path=/head/; revision=41005
Diffstat (limited to 'games/xrot/pkg-install')
-rw-r--r--games/xrot/pkg-install9
1 files changed, 9 insertions, 0 deletions
diff --git a/games/xrot/pkg-install b/games/xrot/pkg-install
new file mode 100644
index 000000000000..fd24c399636d
--- /dev/null
+++ b/games/xrot/pkg-install
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+FILE="/var/games/xrot.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