( cd usr/share/gnome/help/evince/en_GB/figures ; rm -rf evince_start_window.png )
( cd usr/share/gnome/help/evince/en_GB/figures ; ln -sf ../../C/figures/evince_start_window.png evince_start_window.png )
( cd usr/share/gnome/help/evince/zh_CN/figures ; rm -rf evince_start_window.png )
( cd usr/share/gnome/help/evince/zh_CN/figures ; ln -sf ../../C/figures/evince_start_window.png evince_start_window.png )
( cd usr/share/gnome/help/evince/pt_BR/figures ; rm -rf evince_start_window.png )
( cd usr/share/gnome/help/evince/pt_BR/figures ; ln -sf ../../C/figures/evince_start_window.png evince_start_window.png )
( cd usr/share/gnome/help/evince/sr/figures ; rm -rf evince_start_window.png )
( cd usr/share/gnome/help/evince/sr/figures ; ln -sf ../../C/figures/evince_start_window.png evince_start_window.png )
( cd usr/share/gnome/help/evince/vi/figures ; rm -rf evince_start_window.png )
( cd usr/share/gnome/help/evince/vi/figures ; ln -sf ../../C/figures/evince_start_window.png evince_start_window.png )
( cd usr/share/gnome/help/evince/oc/figures ; rm -rf evince_start_window.png )
( cd usr/share/gnome/help/evince/oc/figures ; ln -sf ../../C/figures/evince_start_window.png evince_start_window.png )
( cd usr/share/gnome/help/evince/ru/figures ; rm -rf evince_start_window.png )
( cd usr/share/gnome/help/evince/ru/figures ; ln -sf ../../C/figures/evince_start_window.png evince_start_window.png )
( cd usr/lib64 ; rm -rf libevview.so )
( cd usr/lib64 ; ln -sf libevview.so.2.0.0 libevview.so )
( cd usr/lib64 ; rm -rf libevview.so.2 )
( cd usr/lib64 ; ln -sf libevview.so.2.0.0 libevview.so.2 )
( cd usr/lib64 ; rm -rf libevdocument.so )
( cd usr/lib64 ; ln -sf libevdocument.so.2.0.0 libevdocument.so )
( cd usr/lib64 ; rm -rf libevdocument.so.2 )
( cd usr/lib64 ; ln -sf libevdocument.so.2.0.0 libevdocument.so.2 )

if [ -x usr/bin/gconftool-2 ]; then
GCONF_CONFIG_SOURCE="xml::etc/gconf/gconf.xml.defaults"    usr/bin/gconftool-2 --makefile-install-rule    etc/gconf/schemas/evince-thumbnailer-comics.schemas >/dev/null 2>&1
GCONF_CONFIG_SOURCE="xml::etc/gconf/gconf.xml.defaults"    usr/bin/gconftool-2 --makefile-install-rule    etc/gconf/schemas/evince-thumbnailer-djvu.schemas >/dev/null 2>&1
GCONF_CONFIG_SOURCE="xml::etc/gconf/gconf.xml.defaults"    usr/bin/gconftool-2 --makefile-install-rule    etc/gconf/schemas/evince-thumbnailer-dvi.schemas >/dev/null 2>&1
GCONF_CONFIG_SOURCE="xml::etc/gconf/gconf.xml.defaults"    usr/bin/gconftool-2 --makefile-install-rule    etc/gconf/schemas/evince-thumbnailer-ps.schemas >/dev/null 2>&1
GCONF_CONFIG_SOURCE="xml::etc/gconf/gconf.xml.defaults"    usr/bin/gconftool-2 --makefile-install-rule    etc/gconf/schemas/evince-thumbnailer.schemas >/dev/null 2>&1
GCONF_CONFIG_SOURCE="xml::etc/gconf/gconf.xml.defaults"    usr/bin/gconftool-2 --makefile-install-rule    etc/gconf/schemas/evince.schemas >/dev/null 2>&1
fi
# update rarian database
if [ -x usr/bin/rarian-sk-update ]; then
  usr/bin/rarian-sk-update 1> /dev/null 2> /dev/null
fi

# update desktop entries
if [ -x usr/bin/update-desktop-database ]; then
  usr/bin/update-desktop-database 1> /dev/null 2> /dev/null
fi

# update hicolor icons
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
        rm -f usr/share/icons/hicolor/icon-theme.cache
fi
usr/bin/gtk-update-icon-cache -f -q usr/share/icons/hicolor 1>/dev/null 2>/dev/null

# Restart gconfd-2 if running to reload new gconf settings
if ps acx | grep -q gconfd-2 ; then
        killall -HUP gconfd-2 ;
fi
