if [ -x usr/bin/scrollkeeper-update ]; then
  usr/bin/scrollkeeper-update -p var/lib/scrollkeeper 1> /dev/null 2> /dev/null
fi

if [ -x usr/bin/update-mime-database ]; then
  usr/bin/update-mime-database usr/share/mime 1> /dev/null 2> /dev/null
fi

if [ -x usr/bin/update-desktop-database ]; then
  usr/bin/update-desktop-database 1> /dev/null 2> /dev/null
fi
( cd usr/lib ; rm -rf libgnomedb-3.so.4 )
( cd usr/lib ; ln -sf libgnomedb-3.so.4.0.0 libgnomedb-3.so.4 )
( cd usr/lib ; rm -rf libgnomedb-3.so )
( cd usr/lib ; ln -sf libgnomedb-3.so.4.0.0 libgnomedb-3.so )
( cd usr/lib/libgnomedb/plugins ; rm -rf libgnomedb_entry_text.so.4 )
( cd usr/lib/libgnomedb/plugins ; ln -sf libgnomedb_entry_text.so.4.0.0 libgnomedb_entry_text.so.4 )
( cd usr/lib/libgnomedb/plugins ; rm -rf libgnomedb_entry_text.so )
( cd usr/lib/libgnomedb/plugins ; ln -sf libgnomedb_entry_text.so.4.0.0 libgnomedb_entry_text.so )
( cd usr/lib/libgnomedb/plugins ; rm -rf libgnomedb_entry_cidr.so.4 )
( cd usr/lib/libgnomedb/plugins ; ln -sf libgnomedb_entry_cidr.so.4.0.0 libgnomedb_entry_cidr.so.4 )
( cd usr/lib/libgnomedb/plugins ; rm -rf libgnomedb_entry_cidr.so )
( cd usr/lib/libgnomedb/plugins ; ln -sf libgnomedb_entry_cidr.so.4.0.0 libgnomedb_entry_cidr.so )
( cd usr/lib/libgnomedb/plugins ; rm -rf libgnomedb_entry_passmd5.so.4 )
( cd usr/lib/libgnomedb/plugins ; ln -sf libgnomedb_entry_passmd5.so.4.0.0 libgnomedb_entry_passmd5.so.4 )
( cd usr/lib/libgnomedb/plugins ; rm -rf libgnomedb_entry_passmd5.so )
( cd usr/lib/libgnomedb/plugins ; ln -sf libgnomedb_entry_passmd5.so.4.0.0 libgnomedb_entry_passmd5.so )
( cd usr/lib/libgnomedb/plugins ; rm -rf libgnomedb_entry_filesel.so.4 )
( cd usr/lib/libgnomedb/plugins ; ln -sf libgnomedb_entry_filesel.so.4.0.0 libgnomedb_entry_filesel.so.4 )
( cd usr/lib/libgnomedb/plugins ; rm -rf libgnomedb_entry_filesel.so )
( cd usr/lib/libgnomedb/plugins ; ln -sf libgnomedb_entry_filesel.so.4.0.0 libgnomedb_entry_filesel.so )
( cd usr/lib ; rm -rf libgnomedb_handlers-3.so.4 )
( cd usr/lib ; ln -sf libgnomedb_handlers-3.so.4.0.0 libgnomedb_handlers-3.so.4 )
( cd usr/lib ; rm -rf libgnomedb_handlers-3.so )
( cd usr/lib ; ln -sf libgnomedb_handlers-3.so.4.0.0 libgnomedb_handlers-3.so )
( cd usr/lib ; rm -rf libgnomedb_graph-3.so.4 )
( cd usr/lib ; ln -sf libgnomedb_graph-3.so.4.0.0 libgnomedb_graph-3.so.4 )
( cd usr/lib ; rm -rf libgnomedb_graph-3.so )
( cd usr/lib ; ln -sf libgnomedb_graph-3.so.4.0.0 libgnomedb_graph-3.so )
