# 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

if [ -x /usr/bin/glib-compile-schemas ]; then
  /usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas/ >/dev/null 2>&1
fi

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

# A good idea whenever kernel modules are added or changed:
if [ -x sbin/depmod ]; then
  /sbin/depmod -a 1> /dev/null 2> /dev/null
fi

( cd usr/lib64 ; rm -rf libecore_avahi.so.1 )
( cd usr/lib64 ; ln -sf libecore_avahi.so.1.17.0 libecore_avahi.so.1 )
( cd usr/lib64 ; rm -rf libelua.so )
( cd usr/lib64 ; ln -sf libelua.so.1.17.0 libelua.so )
( cd usr/lib64 ; rm -rf libeldbus.so )
( cd usr/lib64 ; ln -sf libeldbus.so.1.17.0 libeldbus.so )
( cd usr/lib64 ; rm -rf libeet.so.1 )
( cd usr/lib64 ; ln -sf libeet.so.1.17.0 libeet.so.1 )
( cd usr/lib64 ; rm -rf libecore_imf.so.1 )
( cd usr/lib64 ; ln -sf libecore_imf.so.1.17.0 libecore_imf.so.1 )
( cd usr/lib64 ; rm -rf libeo.so )
( cd usr/lib64 ; ln -sf libeo.so.1.17.0 libeo.so )
( cd usr/lib64 ; rm -rf libeeze.so )
( cd usr/lib64 ; ln -sf libeeze.so.1.17.0 libeeze.so )
( cd usr/lib64 ; rm -rf libecore_input_evas.so )
( cd usr/lib64 ; ln -sf libecore_input_evas.so.1.17.0 libecore_input_evas.so )
( cd usr/lib64 ; rm -rf libeeze.so.1 )
( cd usr/lib64 ; ln -sf libeeze.so.1.17.0 libeeze.so.1 )
( cd usr/lib64 ; rm -rf libeio.so )
( cd usr/lib64 ; ln -sf libeio.so.1.17.0 libeio.so )
( cd usr/lib64 ; rm -rf libecore_x.so )
( cd usr/lib64 ; ln -sf libecore_x.so.1.17.0 libecore_x.so )
( cd usr/lib64 ; rm -rf libelocation.so )
( cd usr/lib64 ; ln -sf libelocation.so.1.17.0 libelocation.so )
( cd usr/lib64 ; rm -rf libeolian.so.1 )
( cd usr/lib64 ; ln -sf libeolian.so.1.17.0 libeolian.so.1 )
( cd usr/lib64 ; rm -rf libecore_fb.so )
( cd usr/lib64 ; ln -sf libecore_fb.so.1.17.0 libecore_fb.so )
( cd usr/lib64 ; rm -rf libecore_imf_evas.so.1 )
( cd usr/lib64 ; ln -sf libecore_imf_evas.so.1.17.0 libecore_imf_evas.so.1 )
( cd usr/lib64 ; rm -rf libecore_input.so )
( cd usr/lib64 ; ln -sf libecore_input.so.1.17.0 libecore_input.so )
( cd usr/lib64 ; rm -rf libecore_evas.so )
( cd usr/lib64 ; ln -sf libecore_evas.so.1.17.0 libecore_evas.so )
( cd usr/lib64 ; rm -rf libefreet_mime.so.1 )
( cd usr/lib64 ; ln -sf libefreet_mime.so.1.17.0 libefreet_mime.so.1 )
( cd usr/lib64 ; rm -rf libecore_fb.so.1 )
( cd usr/lib64 ; ln -sf libecore_fb.so.1.17.0 libecore_fb.so.1 )
( cd usr/lib64 ; rm -rf libemotion.so )
( cd usr/lib64 ; ln -sf libemotion.so.1.17.0 libemotion.so )
( cd usr/lib64 ; rm -rf libecore_x.so.1 )
( cd usr/lib64 ; ln -sf libecore_x.so.1.17.0 libecore_x.so.1 )
( cd usr/lib64 ; rm -rf libethumb_client.so.1 )
( cd usr/lib64 ; ln -sf libethumb_client.so.1.17.0 libethumb_client.so.1 )
( cd usr/lib64 ; rm -rf libephysics.so.1 )
( cd usr/lib64 ; ln -sf libephysics.so.1.17.0 libephysics.so.1 )
( cd usr/lib64 ; rm -rf libecore_audio.so )
( cd usr/lib64 ; ln -sf libecore_audio.so.1.17.0 libecore_audio.so )
( cd usr/lib64 ; rm -rf libemile.so.1 )
( cd usr/lib64 ; ln -sf libemile.so.1.17.0 libemile.so.1 )
( cd usr/lib64 ; rm -rf libeina.so.1 )
( cd usr/lib64 ; ln -sf libeina.so.1.17.0 libeina.so.1 )
( cd usr/lib64 ; rm -rf libelocation.so.1 )
( cd usr/lib64 ; ln -sf libelocation.so.1.17.0 libelocation.so.1 )
( cd usr/lib64 ; rm -rf libecore.so.1 )
( cd usr/lib64 ; ln -sf libecore.so.1.17.0 libecore.so.1 )
( cd usr/lib64 ; rm -rf libeolian.so )
( cd usr/lib64 ; ln -sf libeolian.so.1.17.0 libeolian.so )
( cd usr/lib64 ; rm -rf libecore_file.so.1 )
( cd usr/lib64 ; ln -sf libecore_file.so.1.17.0 libecore_file.so.1 )
( cd usr/lib64 ; rm -rf libevas.so )
( cd usr/lib64 ; ln -sf libevas.so.1.17.0 libevas.so )
( cd usr/lib64 ; rm -rf libefreet_mime.so )
( cd usr/lib64 ; ln -sf libefreet_mime.so.1.17.0 libefreet_mime.so )
( cd usr/lib64 ; rm -rf libethumb.so )
( cd usr/lib64 ; ln -sf libethumb.so.1.17.0 libethumb.so )
( cd usr/lib64 ; rm -rf libedje.so.1 )
( cd usr/lib64 ; ln -sf libedje.so.1.17.0 libedje.so.1 )
( cd usr/lib64 ; rm -rf libecore_con.so.1 )
( cd usr/lib64 ; ln -sf libecore_con.so.1.17.0 libecore_con.so.1 )
( cd usr/lib64 ; rm -rf libeio.so.1 )
( cd usr/lib64 ; ln -sf libeio.so.1.17.0 libeio.so.1 )
( cd usr/lib64 ; rm -rf libecore_imf.so )
( cd usr/lib64 ; ln -sf libecore_imf.so.1.17.0 libecore_imf.so )
( cd usr/lib64 ; rm -rf libembryo.so )
( cd usr/lib64 ; ln -sf libembryo.so.1.17.0 libembryo.so )
( cd usr/lib64 ; rm -rf libecore_ipc.so.1 )
( cd usr/lib64 ; ln -sf libecore_ipc.so.1.17.0 libecore_ipc.so.1 )
( cd usr/lib64 ; rm -rf libecore_file.so )
( cd usr/lib64 ; ln -sf libecore_file.so.1.17.0 libecore_file.so )
( cd usr/lib64 ; rm -rf libefl.so.1 )
( cd usr/lib64 ; ln -sf libefl.so.1.17.0 libefl.so.1 )
( cd usr/lib64 ; rm -rf libephysics.so )
( cd usr/lib64 ; ln -sf libephysics.so.1.17.0 libephysics.so )
( cd usr/lib64 ; rm -rf libecore_con.so )
( cd usr/lib64 ; ln -sf libecore_con.so.1.17.0 libecore_con.so )
( cd usr/lib64 ; rm -rf libefreet.so )
( cd usr/lib64 ; ln -sf libefreet.so.1.17.0 libefreet.so )
( cd usr/lib64 ; rm -rf libeo.so.1 )
( cd usr/lib64 ; ln -sf libeo.so.1.17.0 libeo.so.1 )
( cd usr/lib64 ; rm -rf libeldbus.so.1 )
( cd usr/lib64 ; ln -sf libeldbus.so.1.17.0 libeldbus.so.1 )
( cd usr/lib64 ; rm -rf libemile.so )
( cd usr/lib64 ; ln -sf libemile.so.1.17.0 libemile.so )
( cd usr/lib64 ; rm -rf libevas.so.1 )
( cd usr/lib64 ; ln -sf libevas.so.1.17.0 libevas.so.1 )
( cd usr/lib64 ; rm -rf libelua.so.1 )
( cd usr/lib64 ; ln -sf libelua.so.1.17.0 libelua.so.1 )
( cd usr/lib64 ; rm -rf libefreet.so.1 )
( cd usr/lib64 ; ln -sf libefreet.so.1.17.0 libefreet.so.1 )
( cd usr/lib64 ; rm -rf libefreet_trash.so )
( cd usr/lib64 ; ln -sf libefreet_trash.so.1.17.0 libefreet_trash.so )
( cd usr/lib64 ; rm -rf libeet.so )
( cd usr/lib64 ; ln -sf libeet.so.1.17.0 libeet.so )
( cd usr/lib64 ; rm -rf libeina.so )
( cd usr/lib64 ; ln -sf libeina.so.1.17.0 libeina.so )
( cd usr/lib64 ; rm -rf libedje.so )
( cd usr/lib64 ; ln -sf libedje.so.1.17.0 libedje.so )
( cd usr/lib64 ; rm -rf libembryo.so.1 )
( cd usr/lib64 ; ln -sf libembryo.so.1.17.0 libembryo.so.1 )
( cd usr/lib64 ; rm -rf libector.so )
( cd usr/lib64 ; ln -sf libector.so.1.17.0 libector.so )
( cd usr/lib64 ; rm -rf libethumb.so.1 )
( cd usr/lib64 ; ln -sf libethumb.so.1.17.0 libethumb.so.1 )
( cd usr/lib64 ; rm -rf libemotion.so.1 )
( cd usr/lib64 ; ln -sf libemotion.so.1.17.0 libemotion.so.1 )
( cd usr/lib64 ; rm -rf libefl.so )
( cd usr/lib64 ; ln -sf libefl.so.1.17.0 libefl.so )
( cd usr/lib64 ; rm -rf libecore.so )
( cd usr/lib64 ; ln -sf libecore.so.1.17.0 libecore.so )
( cd usr/lib64 ; rm -rf libecore_input_evas.so.1 )
( cd usr/lib64 ; ln -sf libecore_input_evas.so.1.17.0 libecore_input_evas.so.1 )
( cd usr/lib64 ; rm -rf libecore_ipc.so )
( cd usr/lib64 ; ln -sf libecore_ipc.so.1.17.0 libecore_ipc.so )
( cd usr/lib64 ; rm -rf libecore_avahi.so )
( cd usr/lib64 ; ln -sf libecore_avahi.so.1.17.0 libecore_avahi.so )
( cd usr/lib64 ; rm -rf libecore_evas.so.1 )
( cd usr/lib64 ; ln -sf libecore_evas.so.1.17.0 libecore_evas.so.1 )
( cd usr/lib64 ; rm -rf libefreet_trash.so.1 )
( cd usr/lib64 ; ln -sf libefreet_trash.so.1.17.0 libefreet_trash.so.1 )
( cd usr/lib64 ; rm -rf libecore_imf_evas.so )
( cd usr/lib64 ; ln -sf libecore_imf_evas.so.1.17.0 libecore_imf_evas.so )
( cd usr/lib64 ; rm -rf libecore_audio.so.1 )
( cd usr/lib64 ; ln -sf libecore_audio.so.1.17.0 libecore_audio.so.1 )
( cd usr/lib64 ; rm -rf libethumb_client.so )
( cd usr/lib64 ; ln -sf libethumb_client.so.1.17.0 libethumb_client.so )
( cd usr/lib64 ; rm -rf libecore_input.so.1 )
( cd usr/lib64 ; ln -sf libecore_input.so.1.17.0 libecore_input.so.1 )
( cd usr/lib64 ; rm -rf libector.so.1 )
( cd usr/lib64 ; ln -sf libector.so.1.17.0 libector.so.1 )
