PREIN
/bin/sh
if [ "$1" -gt 1 ]; then
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
for f in gnome-dictionary.schemas logview.schemas gnome-system-log.schemas gnome-search-tool.schemas gnome-screenshot.schemas baobab.schemas; do
if [ -f /etc/gconf/schemas/$f ]; then
gconftool-2 --makefile-uninstall-rule /etc/gconf/schemas/$f >& /dev/null || :
fi
done
fi
PREUN
/bin/sh
if [ "$1" -eq 0 ]; then
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
for f in gnome-dictionary.schemas logview.schemas gnome-system-log.schemas gnome-search-tool.schemas gnome-screenshot.schemas baobab.schemas; do
if [ -f /etc/gconf/schemas/$f ]; then
gconftool-2 --makefile-uninstall-rule /etc/gconf/schemas/$f >& /dev/null || :
fi
done
fi
POSTIN
/bin/sh
update-desktop-database -q
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
gconftool-2 --makefile-install-rule \
/etc/gconf/schemas/gnome-dictionary.schemas \
/etc/gconf/schemas/gnome-search-tool.schemas \
/etc/gconf/schemas/gnome-screenshot.schemas \
/etc/gconf/schemas/baobab.schemas \
>& /dev/null || :
touch --no-create /usr/share/icons/hicolor >&/dev/null || :
POSTUN
/bin/sh
update-desktop-database -q
if [ $1 -eq 0 ]; then
touch --no-create /usr/share/icons/hicolor >&/dev/null || :
gtk-update-icon-cache -q /usr/share/icons/hicolor >&/dev/null || :
fi
POSTTRANS
/bin/sh
gtk-update-icon-cache -q /usr/share/icons/hicolor >&/dev/null || :