From 12d0201572ad453ae58e4c7810a81491ee581973 Mon Sep 17 00:00:00 2001 From: Will Andrews Date: Sat, 7 Apr 2001 05:30:42 +0000 Subject: Add nighthawk 2.2, an X11 shoot-'em up which requires some lateral thinking. PR: 26341 Submitted by: Mark Pulford --- games/nighthawk/pkg-install | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 games/nighthawk/pkg-install (limited to 'games/nighthawk/pkg-install') 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 -- cgit v1.2.3