PREIN
/bin/sh
if [ "$1" -gt 1 ]; then
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
if [ -f /etc/gconf/schemas/gnome-obex-server.schemas ] ; then
gconftool-2 --makefile-uninstall-rule \
/etc/gconf/schemas/gnome-obex-server.schemas >/dev/null || :
fi
if [ -f /etc/gconf/schemas/bluetooth-manager.schemas ] ; then
gconftool-2 --makefile-uninstall-rule \
/etc/gconf/schemas/bluetooth-manager.schemas \
>& /dev/null || :
fi
fi
PREUN
/bin/sh
if [ "$1" -eq 0 ]; then
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
if [ -f /etc/gconf/schemas/gnome-obex-server.schemas ] ; then
gconftool-2 --makefile-uninstall-rule \
/etc/gconf/schemas/gnome-obex-server.schemas > /dev/null || :
fi
if [ -f /etc/gconf/schemas/bluetooth-manager.schemas ] ; then
gconftool-2 --makefile-uninstall-rule \
/etc/gconf/schemas/bluetooth-manager.schemas \
>& /dev/null || :
fi
fi
POSTIN
/bin/sh
update-desktop-database -q
POSTUN
/bin/sh
update-desktop-database -q
glib-compile-schemas /usr/share/glib-2.0/schemas || :
if [ $1 -eq 0 ] ; then
touch --no-create /usr/share/icons/hicolor &>/dev/null
gtk-update-icon-cache /usr/share/icons/hicolor &>/dev/null || :
fi
POSTTRANS
/bin/sh
glib-compile-schemas /usr/share/glib-2.0/schemas || :