1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-16 03:24:07 +00:00
freebsd-ports/games/atomix/pkg-install
2005-08-28 07:58:46 +00:00

14 lines
381 B
Bash

#!/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