PREIN
/bin/sh
[ -d /var/games ] || mkdir -p /var/games
for i in \
gnotravex.2x2 \
gnotravex.3x3 \
gnotravex.4x4 \
gnotravex.5x5 \
gnotravex.6x6 \
; 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 gnotravex ; 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