PREIN
/bin/sh
[ -d /var/games ] || mkdir -p /var/games
for i in \
glines.Small \
glines.Medium \
glines.Large \
glines.Custom \
gnibbles.1.0 \
gnibbles.1.1 \
gnibbles.2.0 \
gnibbles.2.1 \
gnibbles.3.0 \
gnibbles.3.1 \
gnibbles.4.0 \
gnibbles.4.1 \
gnobots2.classic_robots-safe \
gnobots2.classic_robots \
gnobots2.classic_robots-super-safe \
gnobots2.nightmare-safe \
gnobots2.nightmare \
gnobots2.nightmare-super-safe \
gnobots2.robots2_easy-safe \
gnobots2.robots2_easy \
gnobots2.robots2_easy-super-safe \
gnobots2.robots2-safe \
gnobots2.robots2 \
gnobots2.robots2-super-safe \
gnobots2.robots_with_safe_teleport-safe \
gnobots2.robots_with_safe_teleport \
gnobots2.robots_with_safe_teleport-super-safe \
gnometris \
gnomine.Custom \
gnomine.Large \
gnomine.Medium \
gnomine.Small \
gnotravex.2x2 \
gnotravex.3x3 \
gnotravex.4x4 \
gnotravex.5x5 \
gnotravex.6x6 \
gnotski.10 \
gnotski.11 \
gnotski.12 \
gnotski.13 \
gnotski.14 \
gnotski.15 \
gnotski.16 \
gnotski.17 \
gnotski.1 \
gnotski.20 \
gnotski.21 \
gnotski.22 \
gnotski.23 \
gnotski.24 \
gnotski.25 \
gnotski.26 \
gnotski.27 \
gnotski.28 \
gnotski.29 \
gnotski.2 \
gnotski.30 \
gnotski.31 \
gnotski.32 \
gnotski.33 \
gnotski.34 \
gnotski.35 \
gnotski.36 \
gnotski.37 \
gnotski.3 \
gnotski.4 \
gnotski.5 \
gnotski.6 \
gnotski.7 \
gnotski.8 \
gnotski.9 \
gtali.Regular \
gtali.Colors \
mahjongg.easy \
mahjongg.difficult \
mahjongg.confounding \
mahjongg.pyramid \
mahjongg.tictactoe \
mahjongg.cloud \
mahjongg.dragon \
mahjongg.bridges \
mahjongg.ziggurat \
same-gnome.Small \
same-gnome.Medium \
same-gnome.Large \
; do
/usr/share/rpm-helper/create-file gnome-games $1 /var/games/$i.scores games games 0664
if [ -f "/var/games/$i.scores" -a ! -s "/var/games/$i.scores" ]; then
echo "0.000000 `date +%s` gnome" >> /var/games/$i.scores
fi
done
PREUN
/bin/sh
if [ "$1" = "0" -a -x /usr/bin/gconftool-2 ]; then
SCHEMAS=""
for SCHEMA in aisleriot blackjack glines gnect gnibbles gnobots2 gnometris gnomine gnotravex gnotski gtali iagno mahjongg same-gnome glchess ; do
SCHEMAS="$SCHEMAS /etc/gconf/schemas/$SCHEMA.schemas"
done
GCONF_CONFIG_SOURCE=`/usr/bin/gconftool-2 --get-default-source` /usr/bin/gconftool-2 --makefile-uninstall-rule $SCHEMAS > /dev/null || true ; fi
ggz-config -r -m /usr/share/ggz/gnect-client.dsc >& /dev/null || :
ggz-config -r -m /usr/share/ggz/gnibbles-client.dsc >& /dev/null || :
ggz-config -r -m /usr/share/ggz/iagno-client.dsc >& /dev/null || :
POSTIN
/bin/sh
ggz-config -i -f -m /usr/share/ggz/gnect-client.dsc >& /dev/null || :
ggz-config -i -f -m /usr/share/ggz/gnibbles-client.dsc >& /dev/null || :
ggz-config -i -f -m /usr/share/ggz/iagno-client.dsc >& /dev/null || :