mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-16 03:24:07 +00:00
14 lines
381 B
Bash
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
|