PREIN
/bin/sh
if [ "$1" -gt 1 ]; then
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
SCHEMAS="totem.schemas totem-handlers.schemas totem-video-thumbnail.schemas"
for S in $SCHEMAS; do
gconftool-2 --makefile-uninstall-rule \
/etc/gconf/schemas/$S > /dev/null || :
done
fi
PREUN
/bin/sh
if [ "$1" -eq 0 ]; then
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
SCHEMAS="totem.schemas totem-handlers.schemas totem-video-thumbnail.schemas"
for S in $SCHEMAS; do
gconftool-2 --makefile-uninstall-rule \
/etc/gconf/schemas/$S > /dev/null || :
done
fi
POSTIN
/bin/sh
/sbin/ldconfig
update-desktop-database -q
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
SCHEMAS="totem.schemas totem-handlers.schemas totem-video-thumbnail.schemas"
for S in $SCHEMAS; do
gconftool-2 --makefile-install-rule \
/etc/gconf/schemas/$S >/dev/null || :
done
touch /usr/share/icons/hicolor
if [ -x /usr/bin/gtk-update-icon-cache ]; then
/usr/bin/gtk-update-icon-cache --quiet /usr/share/icons/hicolor
fi
POSTUN
/bin/sh
/sbin/ldconfig
update-desktop-database -q
touch /usr/share/icons/hicolor
if [ -x /usr/bin/gtk-update-icon-cache ]; then
/usr/bin/gtk-update-icon-cache --quiet /usr/share/icons/hicolor
fi