summaryrefslogtreecommitdiffstats
path: root/games/greed/pkg-install
blob: d891db4686b73553c2521f05f44b5809b04f30d9 (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh

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

echo "===>   Creating initial high score file $FILE"
touch $FILE
chown root.games $FILE
chmod 664 $FILE
OpenPOWER on IntegriCloud