mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
a3696603b5
PR: 74598 Submitted by: Radek Kozlowski <radek@raadradd.com>
14 lines
406 B
Bash
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
|