Sophie

Sophie

distrib > Fedora > 14 > i386 > by-pkgid > 3145cde04fdb59e5d389f096e8be58f6 > scriptlet

gnome-bluetooth-2.32.0-1.fc14.i686.rpm

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 || :