diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2005-01-20 22:43:06 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2005-01-20 22:43:06 +0000 |
commit | 6359b9a527d2f5ef24b67f53b2ce4c0c1f0aa43a (patch) | |
tree | f4560cd6a787a610b5bfe38209dbbfaeb79bc8cc /games/tecnoballz/pkg-install | |
parent | 6dcceb837cb5bc86576b3fc3f403405d2496151c (diff) | |
download | ports-6359b9a527d2f5ef24b67f53b2ce4c0c1f0aa43a.tar.gz ports-6359b9a527d2f5ef24b67f53b2ce4c0c1f0aa43a.zip |
Notes
Diffstat (limited to 'games/tecnoballz/pkg-install')
-rw-r--r-- | games/tecnoballz/pkg-install | 11 |
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 |