#!/bin/sh
if [ "$2" != POST-INSTALL ]
then
	exit 0
fi

cd /var/games
cat <<. |
glines.scores
gnibbles.1.0.scores
gnibbles.1.1.scores
gnibbles.2.0.scores
gnibbles.2.1.scores
gnibbles.3.0.scores
gnibbles.3.1.scores
gnibbles.4.0.scores
gnibbles.4.1.scores
gnobots2.classic_robots-safe.scores
gnobots2.classic_robots.scores
gnobots2.nightmare-safe.scores
gnobots2.nightmare.scores
gnobots2.robots2-safe.scores
gnobots2.robots2.scores
gnobots2.robots2_easy-safe.scores
gnobots2.robots2_easy.scores
gnobots2.robots_with_safe_teleport-safe.scores
gnobots2.robots_with_safe_teleport.scores
gnome-stones.scores
gnome-xbill.scores
gnometris.scores
gnomine.Biiiig.scores
gnomine.Custom.scores
gnomine.Medium.scores
gnomine.Tiny.scores
gnotravex.2x2.scores
gnotravex.3x3.scores
gnotravex.4x4.scores
gnotravex.5x5.scores
gnotravex.6x6.scores
gtali.scores
iagno.b1.scores
iagno.b2.scores
iagno.b3.scores
iagno.w1.scores
iagno.w2.scores
iagno.w3.scores
mahjongg.{easy,difficult}.scores
same-gnome.scores
.
(while read FILE
 do
	if [ ! -f $FILE ]
	then
		@@INSTALL@@ -c -o games -g games -m 664 /dev/null $FILE
	fi
 done)

exit 0
