PREUN
/bin/sh
if [ $1 = 0 ]; then
umask 022;
GCONF_CONFIG_SOURCE="xml:readwrite:/etc/gconf/gconf.xml.defaults" /usr/bin/gconftool-2 --makefile-uninstall-rule /etc/gconf/schemas/gnotski.schemas > /dev/null
fi
POSTIN
/bin/sh
/usr/bin/scrollkeeper-update -q;
umask 022;
GCONF_CONFIG_SOURCE="xml:readwrite:/etc/gconf/gconf.xml.defaults" /usr/bin/gconftool-2 --makefile-install-rule /etc/gconf/schemas/gnotski.schemas > /dev/null
for i in 1 2 3 4 5 6 7 11 12 13 14 15 16 17 21 22 23 24 25 26; do
if [ ! -f /var/games/gnotski.$i.scores ]; then
touch /var/games/gnotski.$i.scores
chown root:games /var/games/gnotski.$i.scores
chmod 664 /var/games/gnotski.$i.scores
fi
done
POSTUN
/bin/sh
if [ $1 = 0 ]; then
/usr/bin/scrollkeeper-update -q;
fi