( cd opt/komodo-edit/bin ; rm -rf komodo )
( cd opt/komodo-edit/bin ; ln -sf ../lib/mozilla/komodo komodo )
( cd opt/komodo-edit/lib/mozilla ; rm -rf libpython2.7.so )
( cd opt/komodo-edit/lib/mozilla ; ln -sf ../python/lib/libpython2.7.so.1.0 libpython2.7.so )
( cd opt/komodo-edit/lib/mozilla ; rm -rf libpython2.7.so.1.0 )
( cd opt/komodo-edit/lib/mozilla ; ln -sf ../python/lib/libpython2.7.so.1.0 libpython2.7.so.1.0 )
( cd opt/komodo-edit/lib/python/lib ; rm -rf libpython2.7.so )
( cd opt/komodo-edit/lib/python/lib ; ln -sf libpython2.7.so.1.0 libpython2.7.so )

( cd usr/bin; ln -sf /opt/komodo-edit/bin/komodo komodo-edit )
( cd usr/share/applications; ln -sf /opt/komodo-edit/share/desktop/komodo-edit-*.desktop komodo-edit.desktop )

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