summaryrefslogtreecommitdiffstats
path: root/games/gnome-games/pkg-install
diff options
context:
space:
mode:
authormezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2007-04-30 01:53:14 +0800
committermezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2007-04-30 01:53:14 +0800
commit314992af2eae7f0f8686642a3190501c21c8a96c (patch)
tree83f3fd3be231b84a58a02c89af54756cb8866e51 /games/gnome-games/pkg-install
parent949cc18e9ca920d4b7bf051a9ad8fc3a9b4140c7 (diff)
downloadmarcuscom-ports-314992af2eae7f0f8686642a3190501c21c8a96c.tar
marcuscom-ports-314992af2eae7f0f8686642a3190501c21c8a96c.tar.gz
marcuscom-ports-314992af2eae7f0f8686642a3190501c21c8a96c.tar.bz2
marcuscom-ports-314992af2eae7f0f8686642a3190501c21c8a96c.tar.lz
marcuscom-ports-314992af2eae7f0f8686642a3190501c21c8a96c.tar.xz
marcuscom-ports-314992af2eae7f0f8686642a3190501c21c8a96c.tar.zst
marcuscom-ports-314992af2eae7f0f8686642a3190501c21c8a96c.zip
Leftover of share/gnome/ -> share/, bump the PORTREVISION.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@8692 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'games/gnome-games/pkg-install')
-rw-r--r--games/gnome-games/pkg-install20
1 files changed, 10 insertions, 10 deletions
diff --git a/games/gnome-games/pkg-install b/games/gnome-games/pkg-install
index 129581f1d..71ccbbf10 100644
--- a/games/gnome-games/pkg-install
+++ b/games/gnome-games/pkg-install
@@ -4,20 +4,20 @@ PATH=/bin:/usr/bin:/usr/sbin
case $2 in
POST-INSTALL)
- mkdir -p ${PKG_PREFIX}/share/gnome/games
+ mkdir -p ${PKG_PREFIX}/share/games
SCORES="glines.Large.scores glines.Medium.scores glines.Small.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 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.10.scores gnotski.11.scores gnotski.12.scores gnotski.13.scores gnotski.14.scores gnotski.15.scores gnotski.16.scores gnotski.17.scores gnotski.18.scores gnotski.19.scores gnotski.2.scores gnotski.20.scores gnotski.21.scores gnotski.22.scores gnotski.23.scores gnotski.24.scores gnotski.25.scores gnotski.26.scores gnotski.27.scores gnotski.28.scores gnotski.29.scores gnotski.3.scores gnotski.30.scores gnotski.31.scores gnotski.32.scores gnotski.33.scores gnotski.34.scores gnotski.35.scores gnotski.36.scores gnotski.37.scores gnotski.4.scores gnotski.5.scores gnotski.6.scores gnotski.7.scores gnotski.8.scores gnotski.9.scores gtali.Colors.scores gtali.Regular.scores mahjongg.bridges.scores mahjongg.cloud.scores mahjongg.confounding.scores mahjongg.difficult.scores mahjongg.dragon.scores mahjongg.easy.scores mahjongg.pyramid.scores mahjongg.tictactoe.scores mahjongg.ziggurat.scores same-gnome.Large.scores same-gnome.Medium.scores same-gnome.Small.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 0666 ${PKG_PREFIX}/share/gnome/games/${i}
+ if [ ! -f ${PKG_PREFIX}/share/games/${i} ]; then
+ touch -f ${PKG_PREFIX}/share/games/${i}
+ chown games:games ${PKG_PREFIX}/share/games/${i}
+ chmod 0666 ${PKG_PREFIX}/share/games/${i}
fi
done
- if [ -f ${PKG_PREFIX}/share/gnome/games/same-gnome.scores ]; then
- mv -f ${PKG_PREFIX}/share/gnome/games/same-gnome.scores \
- ${PKG_PREFIX}/share/gnome/games/same-gnome.Small.scores
- ln -sf ${PKG_PREFIX}/share/gnome/games/same-gnome.Small.scores \
- ${PKG_PREFIX}/share/gnome/games/same-gnome.scores
+ if [ -f ${PKG_PREFIX}/share/games/same-gnome.scores ]; then
+ mv -f ${PKG_PREFIX}/share/games/same-gnome.scores \
+ ${PKG_PREFIX}/share/games/same-gnome.Small.scores
+ ln -sf ${PKG_PREFIX}/share/games/same-gnome.Small.scores \
+ ${PKG_PREFIX}/share/games/same-gnome.scores
fi
;;
esac