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

if [ -e usr/share/glib-2.0/schemas ]; then
  if [ -x /usr/bin/glib-compile-schemas ]; then
    /usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas >/dev/null 2>&1
  fi
fi
( cd usr/lib ; rm -rf libshotwell-plugin-common.so )
( cd usr/lib ; ln -sf libshotwell-plugin-common.so.0.0.0 libshotwell-plugin-common.so )
( cd usr/lib ; rm -rf libshotwell-plugin-common.so.0 )
( cd usr/lib ; ln -sf libshotwell-plugin-common.so.0.0.0 libshotwell-plugin-common.so.0 )
( cd usr/share/help/cs/shotwell/figures ; rm -rf crop_thirds.jpg )
( cd usr/share/help/cs/shotwell/figures ; ln -sf ../../../C/shotwell/figures/crop_thirds.jpg crop_thirds.jpg )
( cd usr/share/help/cs/shotwell/figures ; rm -rf edit_toolbar.png )
( cd usr/share/help/cs/shotwell/figures ; ln -sf ../../../C/shotwell/figures/edit_toolbar.png edit_toolbar.png )
( cd usr/share/help/cs/shotwell/figures ; rm -rf editing_overview.png )
( cd usr/share/help/cs/shotwell/figures ; ln -sf ../../../C/shotwell/figures/editing_overview.png editing_overview.png )
( cd usr/share/help/cs/shotwell/figures ; rm -rf shotwell_logo.png )
( cd usr/share/help/cs/shotwell/figures ; ln -sf ../../../C/shotwell/figures/shotwell_logo.png shotwell_logo.png )
( cd usr/share/help/cs/shotwell/figures ; rm -rf trash_process.png )
( cd usr/share/help/cs/shotwell/figures ; ln -sf ../../../C/shotwell/figures/trash_process.png trash_process.png )
( cd usr/share/help/de/shotwell/figures ; rm -rf crop_thirds.jpg )
( cd usr/share/help/de/shotwell/figures ; ln -sf ../../../C/shotwell/figures/crop_thirds.jpg crop_thirds.jpg )
( cd usr/share/help/de/shotwell/figures ; rm -rf edit_toolbar.png )
( cd usr/share/help/de/shotwell/figures ; ln -sf ../../../C/shotwell/figures/edit_toolbar.png edit_toolbar.png )
( cd usr/share/help/de/shotwell/figures ; rm -rf editing_overview.png )
( cd usr/share/help/de/shotwell/figures ; ln -sf ../../../C/shotwell/figures/editing_overview.png editing_overview.png )
( cd usr/share/help/de/shotwell/figures ; rm -rf shotwell_logo.png )
( cd usr/share/help/de/shotwell/figures ; ln -sf ../../../C/shotwell/figures/shotwell_logo.png shotwell_logo.png )
( cd usr/share/help/de/shotwell/figures ; rm -rf trash_process.png )
( cd usr/share/help/de/shotwell/figures ; ln -sf ../../../C/shotwell/figures/trash_process.png trash_process.png )
( cd usr/share/help/el/shotwell/figures ; rm -rf crop_thirds.jpg )
( cd usr/share/help/el/shotwell/figures ; ln -sf ../../../C/shotwell/figures/crop_thirds.jpg crop_thirds.jpg )
( cd usr/share/help/el/shotwell/figures ; rm -rf edit_toolbar.png )
( cd usr/share/help/el/shotwell/figures ; ln -sf ../../../C/shotwell/figures/edit_toolbar.png edit_toolbar.png )
( cd usr/share/help/el/shotwell/figures ; rm -rf editing_overview.png )
( cd usr/share/help/el/shotwell/figures ; ln -sf ../../../C/shotwell/figures/editing_overview.png editing_overview.png )
( cd usr/share/help/el/shotwell/figures ; rm -rf shotwell_logo.png )
( cd usr/share/help/el/shotwell/figures ; ln -sf ../../../C/shotwell/figures/shotwell_logo.png shotwell_logo.png )
( cd usr/share/help/el/shotwell/figures ; rm -rf trash_process.png )
( cd usr/share/help/el/shotwell/figures ; ln -sf ../../../C/shotwell/figures/trash_process.png trash_process.png )
( cd usr/share/help/es/shotwell/figures ; rm -rf crop_thirds.jpg )
( cd usr/share/help/es/shotwell/figures ; ln -sf ../../../C/shotwell/figures/crop_thirds.jpg crop_thirds.jpg )
( cd usr/share/help/es/shotwell/figures ; rm -rf edit_toolbar.png )
( cd usr/share/help/es/shotwell/figures ; ln -sf ../../../C/shotwell/figures/edit_toolbar.png edit_toolbar.png )
( cd usr/share/help/es/shotwell/figures ; rm -rf editing_overview.png )
( cd usr/share/help/es/shotwell/figures ; ln -sf ../../../C/shotwell/figures/editing_overview.png editing_overview.png )
( cd usr/share/help/es/shotwell/figures ; rm -rf shotwell_logo.png )
( cd usr/share/help/es/shotwell/figures ; ln -sf ../../../C/shotwell/figures/shotwell_logo.png shotwell_logo.png )
( cd usr/share/help/es/shotwell/figures ; rm -rf trash_process.png )
( cd usr/share/help/es/shotwell/figures ; ln -sf ../../../C/shotwell/figures/trash_process.png trash_process.png )
( cd usr/share/help/hu/shotwell/figures ; rm -rf crop_thirds.jpg )
( cd usr/share/help/hu/shotwell/figures ; ln -sf ../../../C/shotwell/figures/crop_thirds.jpg crop_thirds.jpg )
( cd usr/share/help/hu/shotwell/figures ; rm -rf edit_toolbar.png )
( cd usr/share/help/hu/shotwell/figures ; ln -sf ../../../C/shotwell/figures/edit_toolbar.png edit_toolbar.png )
( cd usr/share/help/hu/shotwell/figures ; rm -rf editing_overview.png )
( cd usr/share/help/hu/shotwell/figures ; ln -sf ../../../C/shotwell/figures/editing_overview.png editing_overview.png )
( cd usr/share/help/hu/shotwell/figures ; rm -rf shotwell_logo.png )
( cd usr/share/help/hu/shotwell/figures ; ln -sf ../../../C/shotwell/figures/shotwell_logo.png shotwell_logo.png )
( cd usr/share/help/hu/shotwell/figures ; rm -rf trash_process.png )
( cd usr/share/help/hu/shotwell/figures ; ln -sf ../../../C/shotwell/figures/trash_process.png trash_process.png )
( cd usr/share/help/pt_BR/shotwell/figures ; rm -rf crop_thirds.jpg )
( cd usr/share/help/pt_BR/shotwell/figures ; ln -sf ../../../C/shotwell/figures/crop_thirds.jpg crop_thirds.jpg )
( cd usr/share/help/pt_BR/shotwell/figures ; rm -rf edit_toolbar.png )
( cd usr/share/help/pt_BR/shotwell/figures ; ln -sf ../../../C/shotwell/figures/edit_toolbar.png edit_toolbar.png )
( cd usr/share/help/pt_BR/shotwell/figures ; rm -rf editing_overview.png )
( cd usr/share/help/pt_BR/shotwell/figures ; ln -sf ../../../C/shotwell/figures/editing_overview.png editing_overview.png )
( cd usr/share/help/pt_BR/shotwell/figures ; rm -rf shotwell_logo.png )
( cd usr/share/help/pt_BR/shotwell/figures ; ln -sf ../../../C/shotwell/figures/shotwell_logo.png shotwell_logo.png )
( cd usr/share/help/pt_BR/shotwell/figures ; rm -rf trash_process.png )
( cd usr/share/help/pt_BR/shotwell/figures ; ln -sf ../../../C/shotwell/figures/trash_process.png trash_process.png )
( cd usr/share/help/sv/shotwell/figures ; rm -rf crop_thirds.jpg )
( cd usr/share/help/sv/shotwell/figures ; ln -sf ../../../C/shotwell/figures/crop_thirds.jpg crop_thirds.jpg )
( cd usr/share/help/sv/shotwell/figures ; rm -rf edit_toolbar.png )
( cd usr/share/help/sv/shotwell/figures ; ln -sf ../../../C/shotwell/figures/edit_toolbar.png edit_toolbar.png )
( cd usr/share/help/sv/shotwell/figures ; rm -rf editing_overview.png )
( cd usr/share/help/sv/shotwell/figures ; ln -sf ../../../C/shotwell/figures/editing_overview.png editing_overview.png )
( cd usr/share/help/sv/shotwell/figures ; rm -rf shotwell_logo.png )
( cd usr/share/help/sv/shotwell/figures ; ln -sf ../../../C/shotwell/figures/shotwell_logo.png shotwell_logo.png )
( cd usr/share/help/sv/shotwell/figures ; rm -rf trash_process.png )
( cd usr/share/help/sv/shotwell/figures ; ln -sf ../../../C/shotwell/figures/trash_process.png trash_process.png )
