if [ -x /usr/bin/update-desktop-database ]; then
  /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi

if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
  if [ -x /usr/bin/gtk-update-icon-cache ]; then
    /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
  fi
fi
( cd usr/lib ; rm -rf libCOS4.so )
( cd usr/lib ; ln -sf libCOS4.so.3 libCOS4.so )
( cd usr/lib ; rm -rf libCOS4.so.3 )
( cd usr/lib ; ln -sf libCOS4.so.3.0 libCOS4.so.3 )
( cd usr/lib ; rm -rf libCOSDynamic4.so )
( cd usr/lib ; ln -sf libCOSDynamic4.so.3 libCOSDynamic4.so )
( cd usr/lib ; rm -rf libCOSDynamic4.so.3 )
( cd usr/lib ; ln -sf libCOSDynamic4.so.3.0 libCOSDynamic4.so.3 )
( cd usr/lib ; rm -rf libomniCodeSets4.so )
( cd usr/lib ; ln -sf libomniCodeSets4.so.3 libomniCodeSets4.so )
( cd usr/lib ; rm -rf libomniCodeSets4.so.3 )
( cd usr/lib ; ln -sf libomniCodeSets4.so.3.0 libomniCodeSets4.so.3 )
( cd usr/lib ; rm -rf libomniConnectionMgmt4.so )
( cd usr/lib ; ln -sf libomniConnectionMgmt4.so.3 libomniConnectionMgmt4.so )
( cd usr/lib ; rm -rf libomniConnectionMgmt4.so.3 )
( cd usr/lib ; ln -sf libomniConnectionMgmt4.so.3.0 libomniConnectionMgmt4.so.3 )
( cd usr/lib ; rm -rf libomniDynamic4.so )
( cd usr/lib ; ln -sf libomniDynamic4.so.3 libomniDynamic4.so )
( cd usr/lib ; rm -rf libomniDynamic4.so.3 )
( cd usr/lib ; ln -sf libomniDynamic4.so.3.0 libomniDynamic4.so.3 )
( cd usr/lib ; rm -rf libomniORB4.so )
( cd usr/lib ; ln -sf libomniORB4.so.3 libomniORB4.so )
( cd usr/lib ; rm -rf libomniORB4.so.3 )
( cd usr/lib ; ln -sf libomniORB4.so.3.0 libomniORB4.so.3 )
( cd usr/lib ; rm -rf libomniZIOP4.so )
( cd usr/lib ; ln -sf libomniZIOP4.so.3 libomniZIOP4.so )
( cd usr/lib ; rm -rf libomniZIOP4.so.3 )
( cd usr/lib ; ln -sf libomniZIOP4.so.3.0 libomniZIOP4.so.3 )
( cd usr/lib ; rm -rf libomniZIOPDynamic4.so )
( cd usr/lib ; ln -sf libomniZIOPDynamic4.so.3 libomniZIOPDynamic4.so )
( cd usr/lib ; rm -rf libomniZIOPDynamic4.so.3 )
( cd usr/lib ; ln -sf libomniZIOPDynamic4.so.3.0 libomniZIOPDynamic4.so.3 )
( cd usr/lib ; rm -rf libomnithread.so )
( cd usr/lib ; ln -sf libomnithread.so.4 libomnithread.so )
( cd usr/lib ; rm -rf libomnithread.so.4 )
( cd usr/lib ; ln -sf libomnithread.so.4.3 libomnithread.so.4 )
( cd usr/lib/python2.7/site-packages ; rm -rf _omniidlmodule.so )
( cd usr/lib/python2.7/site-packages ; ln -sf _omniidlmodule.so.4 _omniidlmodule.so )
( cd usr/lib/python2.7/site-packages ; rm -rf _omniidlmodule.so.4 )
( cd usr/lib/python2.7/site-packages ; ln -sf _omniidlmodule.so.4.3 _omniidlmodule.so.4 )
