summaryrefslogtreecommitdiffstats
path: root/games/lbreakout2/pkg-install
blob: 03b2139cede24695ec817b66da8213f36ec9ecc6 (plain)
1
2
3
4
5
6
7
#!/bin/sh

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

echo "===>   Creating initial high score file $FILE"
install -o root -g games -m 664 ${PKG_PREFIX}/share/lbreakout2/empty.hscr $FILE
OpenPOWER on IntegriCloud