summaryrefslogtreecommitdiff
path: root/games/nighthawk/pkg-install
diff options
context:
space:
mode:
authorWill Andrews <will@FreeBSD.org>2001-04-07 05:30:42 +0000
committerWill Andrews <will@FreeBSD.org>2001-04-07 05:30:42 +0000
commit12d0201572ad453ae58e4c7810a81491ee581973 (patch)
treeb6b8944a63c67ec51fee6c2d547cea4f7fb92d65 /games/nighthawk/pkg-install
parentAdd greed 3.3, a text puzzle game with the aim of clearing the game (diff)
Add nighthawk 2.2, an X11 shoot-'em up which requires some lateral
thinking. PR: 26341 Submitted by: Mark Pulford <mark@kyne.com.au>
Notes
Notes: svn path=/head/; revision=41002
Diffstat (limited to 'games/nighthawk/pkg-install')
-rw-r--r--games/nighthawk/pkg-install9
1 files changed, 9 insertions, 0 deletions
diff --git a/games/nighthawk/pkg-install b/games/nighthawk/pkg-install
new file mode 100644
index 000000000000..d147a119debb
--- /dev/null
+++ b/games/nighthawk/pkg-install
@@ -0,0 +1,9 @@
+#!/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