blob: 5d6eb0a5b090017777f1a7e2d5dd389b2fa4ebf7 (
plain) (
tree)
|
|
#!/bin/sh
PATH=/bin:/usr/bin:/usr/sbin
case $2 in
POST-INSTALL)
mkdir -p ${PKG_PREFIX}/share/games
SCORES="glines.Large.scores glines.Medium.scores glines.Small.scores"
for i in ${SCORES}; do
if [ ! -f ${PKG_PREFIX}/share/games/${i} ]; then
touch -f ${PKG_PREFIX}/share/games/${i}
chown games:games ${PKG_PREFIX}/share/games/${i}
chmod 0666 ${PKG_PREFIX}/share/games/${i}
fi
done
;;
esac
|