diff options
author | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2007-05-01 00:59:38 +0800 |
---|---|---|
committer | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2007-05-01 00:59:38 +0800 |
commit | 53893ee90ea264ef9df6762ca4743d25813e24d6 (patch) | |
tree | 38d43b12516b809de6e59f4ecaa40075faa82875 /games/atomix/pkg-install | |
parent | d4083a7b4603fdf7199d22f8ee688329581f8bab (diff) | |
download | marcuscom-ports-53893ee90ea264ef9df6762ca4743d25813e24d6.tar marcuscom-ports-53893ee90ea264ef9df6762ca4743d25813e24d6.tar.gz marcuscom-ports-53893ee90ea264ef9df6762ca4743d25813e24d6.tar.bz2 marcuscom-ports-53893ee90ea264ef9df6762ca4743d25813e24d6.tar.lz marcuscom-ports-53893ee90ea264ef9df6762ca4743d25813e24d6.tar.xz marcuscom-ports-53893ee90ea264ef9df6762ca4743d25813e24d6.tar.zst marcuscom-ports-53893ee90ea264ef9df6762ca4743d25813e24d6.zip |
share/gnome -> share/
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@8699 df743ca5-7f9a-e211-a948-0013205c9059
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 |