aboutsummaryrefslogtreecommitdiff
path: root/games/gweled/pkg-install
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2007-10-24 23:37:25 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2007-10-24 23:37:25 +0000
commit4acc6fb2a411b291c9c210d82bafe7c62e71c77d (patch)
treebc16420eb52d65511ceb520c00171d219210a473 /games/gweled/pkg-install
parent97dfcc1b41c5b4581b1d73128a866beec069c5bf (diff)
downloadports-4acc6fb2a411b291c9c210d82bafe7c62e71c77d.tar.gz
ports-4acc6fb2a411b291c9c210d82bafe7c62e71c77d.zip
Notes
Diffstat (limited to 'games/gweled/pkg-install')
-rw-r--r--games/gweled/pkg-install10
1 files changed, 5 insertions, 5 deletions
diff --git a/games/gweled/pkg-install b/games/gweled/pkg-install
index 04fcca9ba5f7..8c40e3417f50 100644
--- a/games/gweled/pkg-install
+++ b/games/gweled/pkg-install
@@ -1,13 +1,13 @@
#!/bin/sh
if [ "$2" = "POST-INSTALL" ]; then
- mkdir -p ${PKG_PREFIX}/share/gnome/games
+ mkdir -p ${PKG_PREFIX}/share/games
SCORES="gweled.easy.scores gweled.timed.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}
+ if [ ! -f ${PKG_PREFIX}/share/games/${i} ]; then
+ touch -f ${PKG_PREFIX}/share/games/${i}
+ chown games:games ${PKG_PREFIX}/share/games/${i}
+ chmod 0664 ${PKG_PREFIX}/share/games/${i}
fi
done
fi