mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-05 06:27:37 +00:00
8f8213d50a
- Pass maintainership to submitter PR: 121309 Submitted by: Dmitry Marakasov <amdmi3@amdmi3.ru>
14 lines
270 B
Bash
14 lines
270 B
Bash
#!/bin/sh
|
|
|
|
SCOREDIR="/var/games/tecnoballs"
|
|
SCOREFILE="/var/games/tecnoballz/tecnoballz.hi"
|
|
|
|
[ "$2" != "POST-INSTALL" -o -f "$SCOREFILE" ] && exit 0
|
|
|
|
echo "Creating hiscore directory..."
|
|
mkdir -p $SCOREDIR
|
|
touch $SCOREFILE
|
|
|
|
chgrp -R games $SCOREDIR
|
|
chmod g+w $SCOREFILE
|