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/purple.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 mime database
if [ -x usr/bin/update-mime-database ]; then
  usr/bin/update-mime-database usr/share/mime 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

( cd usr/lib ; rm -rf libgnt.so )
( cd usr/lib ; ln -sf libgnt.so.0.0.0 libgnt.so )
( cd usr/lib ; rm -rf libgnt.so.0 )
( cd usr/lib ; ln -sf libgnt.so.0.0.0 libgnt.so.0 )
( cd usr/lib ; rm -rf libpurple-client.so )
( cd usr/lib ; ln -sf libpurple-client.so.0.10.6 libpurple-client.so )
( cd usr/lib ; rm -rf libpurple-client.so.0 )
( cd usr/lib ; ln -sf libpurple-client.so.0.10.6 libpurple-client.so.0 )
( cd usr/lib ; rm -rf libpurple.so )
( cd usr/lib ; ln -sf libpurple.so.0.10.6 libpurple.so )
( cd usr/lib ; rm -rf libpurple.so.0 )
( cd usr/lib ; ln -sf libpurple.so.0.10.6 libpurple.so.0 )
( cd usr/lib/purple-2 ; rm -rf libjabber.so )
( cd usr/lib/purple-2 ; ln -sf libjabber.so.0.0.0 libjabber.so )
( cd usr/lib/purple-2 ; rm -rf libjabber.so.0 )
( cd usr/lib/purple-2 ; ln -sf libjabber.so.0.0.0 libjabber.so.0 )
( cd usr/lib/purple-2 ; rm -rf liboscar.so )
( cd usr/lib/purple-2 ; ln -sf liboscar.so.0.0.0 liboscar.so )
( cd usr/lib/purple-2 ; rm -rf liboscar.so.0 )
( cd usr/lib/purple-2 ; ln -sf liboscar.so.0.0.0 liboscar.so.0 )
( cd usr/lib/purple-2 ; rm -rf libymsg.so )
( cd usr/lib/purple-2 ; ln -sf libymsg.so.0.0.0 libymsg.so )
( cd usr/lib/purple-2 ; rm -rf libymsg.so.0 )
( cd usr/lib/purple-2 ; ln -sf libymsg.so.0.0.0 libymsg.so.0 )
