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

if [ -x /usr/bin/update-desktop-database ]; then
  /usr/bin/update-desktop-database &> /dev/null
fi

if [ -x /usr/bin/gtk-update-icon-cache ]; then
  /usr/bin/gtk-update-icon-cache  -f -q /usr/share/icons/hicolor &> /dev/null
fi

( cd usr/lib ; rm -rf libglom.so.0 )
( cd usr/lib ; ln -sf libglom.so.0.0.0 libglom.so.0 )
( cd usr/lib ; rm -rf libglom.so )
( cd usr/lib ; ln -sf libglom.so.0.0.0 libglom.so )
( cd usr/share/gnome/help/glom/fr/figures ; rm -rf glom_initial_dialog_local_network.png )
( cd usr/share/gnome/help/glom/fr/figures ; ln -sf ../../C/figures/glom_initial_dialog_local_network.png glom_initial_dialog_local_network.png )
( cd usr/share/gnome/help/glom/fr/figures ; rm -rf glom_import.png )
( cd usr/share/gnome/help/glom/fr/figures ; ln -sf ../../C/figures/glom_import.png glom_import.png )
( cd usr/share/gnome/help/glom/en_GB/figures ; rm -rf glom_design_layout_details.png )
( cd usr/share/gnome/help/glom/en_GB/figures ; ln -sf ../../C/figures/glom_design_layout_details.png glom_design_layout_details.png )
( cd usr/share/gnome/help/glom/en_GB/figures ; rm -rf glom_initial_dialog_local_network.png )
( cd usr/share/gnome/help/glom/en_GB/figures ; ln -sf ../../C/figures/glom_initial_dialog_local_network.png glom_initial_dialog_local_network.png )
( cd usr/share/gnome/help/glom/en_GB/figures ; rm -rf glom_design_reports_vertical_group.png )
( cd usr/share/gnome/help/glom/en_GB/figures ; ln -sf ../../C/figures/glom_design_reports_vertical_group.png glom_design_reports_vertical_group.png )
( cd usr/share/gnome/help/glom/en_GB/figures ; rm -rf glom_design_reports_details.png )
( cd usr/share/gnome/help/glom/en_GB/figures ; ln -sf ../../C/figures/glom_design_reports_details.png glom_design_reports_details.png )
( cd usr/share/gnome/help/glom/en_GB/figures ; rm -rf glom_design_fields.png )
( cd usr/share/gnome/help/glom/en_GB/figures ; ln -sf ../../C/figures/glom_design_fields.png glom_design_fields.png )
( cd usr/share/gnome/help/glom/en_GB/figures ; rm -rf glom_import.png )
( cd usr/share/gnome/help/glom/en_GB/figures ; ln -sf ../../C/figures/glom_import.png glom_import.png )
( cd usr/share/gnome/help/glom/en_GB/figures ; rm -rf glom_tables.png )
( cd usr/share/gnome/help/glom/en_GB/figures ; ln -sf ../../C/figures/glom_tables.png glom_tables.png )
( cd usr/share/gnome/help/glom/en_GB/figures ; rm -rf glom_data_details.png )
( cd usr/share/gnome/help/glom/en_GB/figures ; ln -sf ../../C/figures/glom_data_details.png glom_data_details.png )
( cd usr/share/gnome/help/glom/en_GB/figures ; rm -rf glom_design_translations.png )
( cd usr/share/gnome/help/glom/en_GB/figures ; ln -sf ../../C/figures/glom_design_translations.png glom_design_translations.png )
( cd usr/share/gnome/help/glom/en_GB/figures ; rm -rf glom_data_list.png )
( cd usr/share/gnome/help/glom/en_GB/figures ; ln -sf ../../C/figures/glom_data_list.png glom_data_list.png )
( cd usr/share/gnome/help/glom/en_GB/figures ; rm -rf glom_design_fields_dialog_calculated.png )
( cd usr/share/gnome/help/glom/en_GB/figures ; ln -sf ../../C/figures/glom_design_fields_dialog_calculated.png glom_design_fields_dialog_calculated.png )
( cd usr/share/gnome/help/glom/en_GB/figures ; rm -rf glom_design_reports_group_by.png )
( cd usr/share/gnome/help/glom/en_GB/figures ; ln -sf ../../C/figures/glom_design_reports_group_by.png glom_design_reports_group_by.png )
( cd usr/share/gnome/help/glom/en_GB/figures ; rm -rf glom_report_result.png )
( cd usr/share/gnome/help/glom/en_GB/figures ; ln -sf ../../C/figures/glom_report_result.png glom_report_result.png )
( cd usr/share/gnome/help/glom/en_GB/figures ; rm -rf glom_design_reports.png )
( cd usr/share/gnome/help/glom/en_GB/figures ; ln -sf ../../C/figures/glom_design_reports.png glom_design_reports.png )
( cd usr/share/gnome/help/glom/en_GB/figures ; rm -rf glom_design_layout_list.png )
( cd usr/share/gnome/help/glom/en_GB/figures ; ln -sf ../../C/figures/glom_design_layout_list.png glom_design_layout_list.png )
( cd usr/share/gnome/help/glom/en_GB/figures ; rm -rf start.png )
( cd usr/share/gnome/help/glom/en_GB/figures ; ln -sf ../../C/figures/start.png start.png )
( cd usr/share/gnome/help/glom/de/figures ; rm -rf glom_design_layout_details.png )
( cd usr/share/gnome/help/glom/de/figures ; ln -sf ../../C/figures/glom_design_layout_details.png glom_design_layout_details.png )
( cd usr/share/gnome/help/glom/de/figures ; rm -rf glom_initial_dialog_local_network.png )
( cd usr/share/gnome/help/glom/de/figures ; ln -sf ../../C/figures/glom_initial_dialog_local_network.png glom_initial_dialog_local_network.png )
( cd usr/share/gnome/help/glom/de/figures ; rm -rf glom_design_reports_vertical_group.png )
( cd usr/share/gnome/help/glom/de/figures ; ln -sf ../../C/figures/glom_design_reports_vertical_group.png glom_design_reports_vertical_group.png )
( cd usr/share/gnome/help/glom/de/figures ; rm -rf glom_design_reports_details.png )
( cd usr/share/gnome/help/glom/de/figures ; ln -sf ../../C/figures/glom_design_reports_details.png glom_design_reports_details.png )
( cd usr/share/gnome/help/glom/de/figures ; rm -rf glom_design_fields.png )
( cd usr/share/gnome/help/glom/de/figures ; ln -sf ../../C/figures/glom_design_fields.png glom_design_fields.png )
( cd usr/share/gnome/help/glom/de/figures ; rm -rf glom_import.png )
( cd usr/share/gnome/help/glom/de/figures ; ln -sf ../../C/figures/glom_import.png glom_import.png )
( cd usr/share/gnome/help/glom/de/figures ; rm -rf glom_tables.png )
( cd usr/share/gnome/help/glom/de/figures ; ln -sf ../../C/figures/glom_tables.png glom_tables.png )
( cd usr/share/gnome/help/glom/de/figures ; rm -rf glom_data_details.png )
( cd usr/share/gnome/help/glom/de/figures ; ln -sf ../../C/figures/glom_data_details.png glom_data_details.png )
( cd usr/share/gnome/help/glom/de/figures ; rm -rf glom_design_translations.png )
( cd usr/share/gnome/help/glom/de/figures ; ln -sf ../../C/figures/glom_design_translations.png glom_design_translations.png )
( cd usr/share/gnome/help/glom/de/figures ; rm -rf glom_data_list.png )
( cd usr/share/gnome/help/glom/de/figures ; ln -sf ../../C/figures/glom_data_list.png glom_data_list.png )
( cd usr/share/gnome/help/glom/de/figures ; rm -rf glom_design_fields_dialog_calculated.png )
( cd usr/share/gnome/help/glom/de/figures ; ln -sf ../../C/figures/glom_design_fields_dialog_calculated.png glom_design_fields_dialog_calculated.png )
( cd usr/share/gnome/help/glom/de/figures ; rm -rf glom_design_reports_group_by.png )
( cd usr/share/gnome/help/glom/de/figures ; ln -sf ../../C/figures/glom_design_reports_group_by.png glom_design_reports_group_by.png )
( cd usr/share/gnome/help/glom/de/figures ; rm -rf glom_report_result.png )
( cd usr/share/gnome/help/glom/de/figures ; ln -sf ../../C/figures/glom_report_result.png glom_report_result.png )
( cd usr/share/gnome/help/glom/de/figures ; rm -rf glom_design_reports.png )
( cd usr/share/gnome/help/glom/de/figures ; ln -sf ../../C/figures/glom_design_reports.png glom_design_reports.png )
( cd usr/share/gnome/help/glom/de/figures ; rm -rf glom_design_layout_list.png )
( cd usr/share/gnome/help/glom/de/figures ; ln -sf ../../C/figures/glom_design_layout_list.png glom_design_layout_list.png )
( cd usr/share/gnome/help/glom/de/figures ; rm -rf start.png )
( cd usr/share/gnome/help/glom/de/figures ; ln -sf ../../C/figures/start.png start.png )
( cd usr/share/gnome/help/glom/es/figures ; rm -rf glom_design_layout_details.png )
( cd usr/share/gnome/help/glom/es/figures ; ln -sf ../../C/figures/glom_design_layout_details.png glom_design_layout_details.png )
( cd usr/share/gnome/help/glom/es/figures ; rm -rf glom_initial_dialog_local_network.png )
( cd usr/share/gnome/help/glom/es/figures ; ln -sf ../../C/figures/glom_initial_dialog_local_network.png glom_initial_dialog_local_network.png )
( cd usr/share/gnome/help/glom/es/figures ; rm -rf glom_design_reports_vertical_group.png )
( cd usr/share/gnome/help/glom/es/figures ; ln -sf ../../C/figures/glom_design_reports_vertical_group.png glom_design_reports_vertical_group.png )
( cd usr/share/gnome/help/glom/es/figures ; rm -rf glom_design_reports_details.png )
( cd usr/share/gnome/help/glom/es/figures ; ln -sf ../../C/figures/glom_design_reports_details.png glom_design_reports_details.png )
( cd usr/share/gnome/help/glom/es/figures ; rm -rf glom_import.png )
( cd usr/share/gnome/help/glom/es/figures ; ln -sf ../../C/figures/glom_import.png glom_import.png )
( cd usr/share/gnome/help/glom/es/figures ; rm -rf glom_tables.png )
( cd usr/share/gnome/help/glom/es/figures ; ln -sf ../../C/figures/glom_tables.png glom_tables.png )
( cd usr/share/gnome/help/glom/es/figures ; rm -rf glom_data_details.png )
( cd usr/share/gnome/help/glom/es/figures ; ln -sf ../../C/figures/glom_data_details.png glom_data_details.png )
( cd usr/share/gnome/help/glom/es/figures ; rm -rf glom_design_translations.png )
( cd usr/share/gnome/help/glom/es/figures ; ln -sf ../../C/figures/glom_design_translations.png glom_design_translations.png )
( cd usr/share/gnome/help/glom/es/figures ; rm -rf glom_data_list.png )
( cd usr/share/gnome/help/glom/es/figures ; ln -sf ../../C/figures/glom_data_list.png glom_data_list.png )
( cd usr/share/gnome/help/glom/es/figures ; rm -rf glom_design_fields_dialog_calculated.png )
( cd usr/share/gnome/help/glom/es/figures ; ln -sf ../../C/figures/glom_design_fields_dialog_calculated.png glom_design_fields_dialog_calculated.png )
( cd usr/share/gnome/help/glom/es/figures ; rm -rf glom_design_reports_group_by.png )
( cd usr/share/gnome/help/glom/es/figures ; ln -sf ../../C/figures/glom_design_reports_group_by.png glom_design_reports_group_by.png )
( cd usr/share/gnome/help/glom/es/figures ; rm -rf glom_report_result.png )
( cd usr/share/gnome/help/glom/es/figures ; ln -sf ../../C/figures/glom_report_result.png glom_report_result.png )
( cd usr/share/gnome/help/glom/es/figures ; rm -rf glom_design_reports.png )
( cd usr/share/gnome/help/glom/es/figures ; ln -sf ../../C/figures/glom_design_reports.png glom_design_reports.png )
( cd usr/share/gnome/help/glom/es/figures ; rm -rf glom_design_layout_list.png )
( cd usr/share/gnome/help/glom/es/figures ; ln -sf ../../C/figures/glom_design_layout_list.png glom_design_layout_list.png )
( cd usr/share/gnome/help/glom/sv/figures ; rm -rf glom_design_layout_details.png )
( cd usr/share/gnome/help/glom/sv/figures ; ln -sf ../../C/figures/glom_design_layout_details.png glom_design_layout_details.png )
( cd usr/share/gnome/help/glom/sv/figures ; rm -rf glom_initial_dialog_local_network.png )
( cd usr/share/gnome/help/glom/sv/figures ; ln -sf ../../C/figures/glom_initial_dialog_local_network.png glom_initial_dialog_local_network.png )
( cd usr/share/gnome/help/glom/sv/figures ; rm -rf glom_design_reports_vertical_group.png )
( cd usr/share/gnome/help/glom/sv/figures ; ln -sf ../../C/figures/glom_design_reports_vertical_group.png glom_design_reports_vertical_group.png )
( cd usr/share/gnome/help/glom/sv/figures ; rm -rf glom_design_reports_details.png )
( cd usr/share/gnome/help/glom/sv/figures ; ln -sf ../../C/figures/glom_design_reports_details.png glom_design_reports_details.png )
( cd usr/share/gnome/help/glom/sv/figures ; rm -rf glom_design_fields.png )
( cd usr/share/gnome/help/glom/sv/figures ; ln -sf ../../C/figures/glom_design_fields.png glom_design_fields.png )
( cd usr/share/gnome/help/glom/sv/figures ; rm -rf glom_import.png )
( cd usr/share/gnome/help/glom/sv/figures ; ln -sf ../../C/figures/glom_import.png glom_import.png )
( cd usr/share/gnome/help/glom/sv/figures ; rm -rf glom_tables.png )
( cd usr/share/gnome/help/glom/sv/figures ; ln -sf ../../C/figures/glom_tables.png glom_tables.png )
( cd usr/share/gnome/help/glom/sv/figures ; rm -rf glom_data_details.png )
( cd usr/share/gnome/help/glom/sv/figures ; ln -sf ../../C/figures/glom_data_details.png glom_data_details.png )
( cd usr/share/gnome/help/glom/sv/figures ; rm -rf glom_design_translations.png )
( cd usr/share/gnome/help/glom/sv/figures ; ln -sf ../../C/figures/glom_design_translations.png glom_design_translations.png )
( cd usr/share/gnome/help/glom/sv/figures ; rm -rf glom_data_list.png )
( cd usr/share/gnome/help/glom/sv/figures ; ln -sf ../../C/figures/glom_data_list.png glom_data_list.png )
( cd usr/share/gnome/help/glom/sv/figures ; rm -rf glom_design_fields_dialog_calculated.png )
( cd usr/share/gnome/help/glom/sv/figures ; ln -sf ../../C/figures/glom_design_fields_dialog_calculated.png glom_design_fields_dialog_calculated.png )
( cd usr/share/gnome/help/glom/sv/figures ; rm -rf glom_design_reports_group_by.png )
( cd usr/share/gnome/help/glom/sv/figures ; ln -sf ../../C/figures/glom_design_reports_group_by.png glom_design_reports_group_by.png )
( cd usr/share/gnome/help/glom/sv/figures ; rm -rf glom_report_result.png )
( cd usr/share/gnome/help/glom/sv/figures ; ln -sf ../../C/figures/glom_report_result.png glom_report_result.png )
( cd usr/share/gnome/help/glom/sv/figures ; rm -rf glom_design_reports.png )
( cd usr/share/gnome/help/glom/sv/figures ; ln -sf ../../C/figures/glom_design_reports.png glom_design_reports.png )
( cd usr/share/gnome/help/glom/sv/figures ; rm -rf glom_design_layout_list.png )
( cd usr/share/gnome/help/glom/sv/figures ; ln -sf ../../C/figures/glom_design_layout_list.png glom_design_layout_list.png )
( cd usr/share/gnome/help/glom/sv/figures ; rm -rf start.png )
( cd usr/share/gnome/help/glom/sv/figures ; ln -sf ../../C/figures/start.png start.png )
