PREIN
/bin/sh
[ -d /var/games ] || mkdir -p /var/games
for i in \
gnotski.1 \
gnotski.2 \
gnotski.3 \
gnotski.4 \
gnotski.5 \
gnotski.6 \
gnotski.7 \
gnotski.8 \
gnotski.9 \
gnotski.10 \
gnotski.11 \
gnotski.12 \
gnotski.13 \
gnotski.14 \
gnotski.15 \
gnotski.16 \
gnotski.17 \
gnotski.18 \
gnotski.19 \
gnotski.20 \
gnotski.21 \
gnotski.22 \
gnotski.23 \
gnotski.24 \
gnotski.25 \
gnotski.26 \
gnotski.27 \
gnotski.28 \
gnotski.29 \
gnotski.30 \
gnotski.31 \
gnotski.32 \
gnotski.33 \
gnotski.34 \
gnotski.35 \
gnotski.36 \
gnotski.37 \
; 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 gnotski ; 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