1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
freebsd-ports/games/gweled/pkg-install
Joe Marcus Clarke a3696603b5 Update to 0.6.
PR:		74598
Submitted by:	Radek Kozlowski <radek@raadradd.com>
2004-12-01 20:52:14 +00:00

14 lines
406 B
Bash

#!/bin/sh
if [ "$2" = "POST-INSTALL" ]; then
mkdir -p ${PKG_PREFIX}/share/gnome/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}
fi
done
fi