summaryrefslogblamecommitdiff
path: root/games/marbles/pkg-install
blob: 562b593513f012fa37eab1da24a88e2463bf8a89 (plain) (tree)
1
2
3
4
5
6
7






                                                                            
#!/bin/sh

FILE=/var/games/marbles.prfs
[ "$2" != "POST-INSTALL" -o -f "$FILE" ] && exit 0

echo "===>   Creating initial profile $FILE"
install -o root -g games -m 664 ${PKG_PREFIX}/share/marbles/empty.prfs $FILE