8f8213d50a
- Pass maintainership to submitter PR: 121309 Submitted by: Dmitry Marakasov <amdmi3@amdmi3.ru>
13 lines
270 B
Bash
13 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
|