diff options
Diffstat (limited to 'games/xrot/pkg-install')
-rw-r--r-- | games/xrot/pkg-install | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/games/xrot/pkg-install b/games/xrot/pkg-install new file mode 100644 index 000000000000..fd24c399636d --- /dev/null +++ b/games/xrot/pkg-install @@ -0,0 +1,9 @@ +#!/bin/sh + +FILE="/var/games/xrot.scores" +[ "$2" != "POST-INSTALL" -o -f "$FILE" ] && exit 0 + +echo "===> Creating initial high score file $FILE" +touch $FILE +chown root.games $FILE +chmod 664 $FILE |