aboutsummaryrefslogtreecommitdiff
path: root/games/tecnoballz/pkg-install
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2005-01-20 22:43:06 +0000
committerPav Lucistnik <pav@FreeBSD.org>2005-01-20 22:43:06 +0000
commit6359b9a527d2f5ef24b67f53b2ce4c0c1f0aa43a (patch)
treef4560cd6a787a610b5bfe38209dbbfaeb79bc8cc /games/tecnoballz/pkg-install
parent6dcceb837cb5bc86576b3fc3f403405d2496151c (diff)
downloadports-6359b9a527d2f5ef24b67f53b2ce4c0c1f0aa43a.tar.gz
ports-6359b9a527d2f5ef24b67f53b2ce4c0c1f0aa43a.zip
Notes
Diffstat (limited to 'games/tecnoballz/pkg-install')
-rw-r--r--games/tecnoballz/pkg-install11
1 files changed, 11 insertions, 0 deletions
diff --git a/games/tecnoballz/pkg-install b/games/tecnoballz/pkg-install
new file mode 100644
index 000000000000..c8de25f28eae
--- /dev/null
+++ b/games/tecnoballz/pkg-install
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+SCOREDIR="/var/games"
+SCOREFILE="/var/games/tecnoballz.hi"
+
+[ "$2" != "POST-INSTALL" -o -f "$SCOREFILE" ] && exit 0
+
+mkdir -p $SCOREDIR
+touch $SCOREFILE
+chown root:games $SCOREFILE
+chmod 664 $SCOREFILE