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