mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-02 01:20:54 +00:00
04e6594d69
Jet Set Willy from the legend Mathew Smith. The goal of the game is to collect all the objects of each level, when this is made, the exit gate to the next stage will appear and you can pass trough. Pachi is a comic character created by Nicolas Radeff in 2001. PR: 86845 Submitted by: Dmitry Marakasov <amdmi3@mail.ru> Approved by: novel (mentor)
17 lines
334 B
Bash
17 lines
334 B
Bash
#!/bin/sh
|
|
#
|
|
# $FreeBSD$
|
|
|
|
SCOREDIR="/var/games/pachi"
|
|
SCOREFILE="/var/games/pachi/scores.dat"
|
|
|
|
[ "$2" != "POST-INSTALL" -o -f "$SCOREFILE" ] && exit 0
|
|
|
|
echo "Creating hiscore file..."
|
|
mkdir -p "$SCOREDIR"
|
|
|
|
# Empty scorefile seem to contain 170 zero bytes
|
|
truncate -s 170 "$SCOREFILE"
|
|
chgrp -R games "$SCOREDIR"
|
|
chmod g+w "$SCOREFILE"
|