diff options
Diffstat (limited to 'games/toppler/pkg-install')
-rw-r--r-- | games/toppler/pkg-install | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/games/toppler/pkg-install b/games/toppler/pkg-install new file mode 100644 index 000000000000..d406fe424621 --- /dev/null +++ b/games/toppler/pkg-install @@ -0,0 +1,8 @@ +#!/bin/sh + +FILE=/var/games/toppler/toppler.hsc +[ "$2" != "POST-INSTALL" -o -f "$FILE" ] && exit 0 + +echo "===> Creating initial high score file $FILE" +[ -d `dirname $FILE` ] || install -o root -g games -m 775 -d `dirname $FILE` +install -o root -g games -m 664 /dev/null $FILE |