diff options
Diffstat (limited to 'games/atomix/pkg-install')
-rw-r--r-- | games/atomix/pkg-install | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/games/atomix/pkg-install b/games/atomix/pkg-install new file mode 100644 index 000000000..e4e48b646 --- /dev/null +++ b/games/atomix/pkg-install @@ -0,0 +1,13 @@ +#!/bin/sh + +if [ "$2" = "POST-INSTALL" ]; then + mkdir -p ${PKG_PREFIX}/share/gnome/games + SCORES="atomix.scores" + for i in ${SCORES}; do + if [ ! -f ${PKG_PREFIX}/share/gnome/games/${i} ]; then + touch -f ${PKG_PREFIX}/share/gnome/games/${i} + chown games:games ${PKG_PREFIX}/share/gnome/games/${i} + chmod 0664 ${PKG_PREFIX}/share/gnome/games/${i} + fi + done +fi |