diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2003-11-20 08:41:35 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2003-11-20 08:41:35 +0800 |
commit | 995b2c429b32d258c6c989f43816303b6f9b5f0e (patch) | |
tree | 3dce0c1dd37e96d65c371c9904433a170976697a /games/gnome-games/pkg-install | |
parent | 2d33609538572c7ad423ea9fd55c791436e87c0b (diff) | |
download | marcuscom-ports-995b2c429b32d258c6c989f43816303b6f9b5f0e.tar marcuscom-ports-995b2c429b32d258c6c989f43816303b6f9b5f0e.tar.gz marcuscom-ports-995b2c429b32d258c6c989f43816303b6f9b5f0e.tar.bz2 marcuscom-ports-995b2c429b32d258c6c989f43816303b6f9b5f0e.tar.lz marcuscom-ports-995b2c429b32d258c6c989f43816303b6f9b5f0e.tar.xz marcuscom-ports-995b2c429b32d258c6c989f43816303b6f9b5f0e.tar.zst marcuscom-ports-995b2c429b32d258c6c989f43816303b6f9b5f0e.zip |
Update to 2.5.1.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@1341 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'games/gnome-games/pkg-install')
-rw-r--r-- | games/gnome-games/pkg-install | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/games/gnome-games/pkg-install b/games/gnome-games/pkg-install new file mode 100644 index 000000000..039d300d6 --- /dev/null +++ b/games/gnome-games/pkg-install @@ -0,0 +1,17 @@ +#!/bin/sh + +if [ -n "${PACKAGE_BUILDING}" ]; then + exit 0 +fi + +if [ "$2" = "POST-INSTALL" ]; then + mkdir -p ${PKG_PREFIX}/share/gnome/games + SCORES="glines.scores gnibbles.1.0.scores gnibbles.1.1.scores gnibbles.2.0.scores gnibbles.2.1.scores gnibbles.3.0.scores gnibbles.3.1.scores gnibbles.4.0.scores gnibbles.4.1.scores gnobots2.classic_robots-safe.scores gnobots2.classic_robots-super-safe.scores gnobots2.classic_robots.scores gnobots2.nightmare-safe.scores gnobots2.nightmare-super-safe.scores gnobots2.nightmare.scores gnobots2.robots2-safe.scores gnobots2.robots2-super-safe.scores gnobots2.robots2.scores gnobots2.robots2_easy-safe.scores gnobots2.robots2_easy-super-safe.scores gnobots2.robots2_easy.scores gnobots2.robots_with_safe_teleport-safe.scores gnobots2.robots_with_safe_teleport-super-safe.scores gnobots2.robots_with_safe_teleport.scores gnome-stones.scores gnometris.scores gnomine.Custom.scores gnomine.Large.scores gnomine.Medium.scores gnomine.Small.scores gnotravex.2x2.scores gnotravex.3x3.scores gnotravex.4x4.scores gnotravex.5x5.scores gnotravex.6x6.scores gnotski.1.scores gnotski.11.scores gnotski.12.scores gnotski.13.scores gnotski.14.scores gnotski.15.scores gnotski.16.scores gnotski.17.scores gnotski.2.scores gnotski.21.scores gnotski.22.scores gnotski.23.scores gnotski.24.scores gnotski.25.scores gnotski.26.scores gnotski.3.scores gnotski.4.scores gnotski.5.scores gnotski.6.scores gnotski.7.scores gtali.scores iagno.b1.scores iagno.b2.scores iagno.b3.scores iagno.w1.scores iagno.w2.scores iagno.w3.scores mahjongg.difficult.scores mahjongg.easy.scores same-gnome.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 664 ${PKG_PREFIX}/share/gnome/games/${i} + fi + done +fi |