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/lib64 ; rm -rf libshotwell-authenticator.so )
( cd usr/lib64 ; ln -sf libshotwell-authenticator.so.0 libshotwell-authenticator.so )
( cd usr/lib64 ; rm -rf libshotwell-authenticator.so.0 )
( cd usr/lib64 ; ln -sf libshotwell-authenticator.so.0.32.10 libshotwell-authenticator.so.0 )
( cd usr/lib64 ; rm -rf libshotwell-plugin-common.so )
( cd usr/lib64 ; ln -sf libshotwell-plugin-common.so.0 libshotwell-plugin-common.so )
( cd usr/lib64 ; rm -rf libshotwell-plugin-common.so.0 )
( cd usr/lib64 ; ln -sf libshotwell-plugin-common.so.0.32.10 libshotwell-plugin-common.so.0 )
( cd usr/lib64 ; rm -rf libshotwell-plugin-dev-1.0.so )
( cd usr/lib64 ; ln -sf libshotwell-plugin-dev-1.0.so.0 libshotwell-plugin-dev-1.0.so )
( cd usr/lib64 ; rm -rf libshotwell-plugin-dev-1.0.so.0 )
( cd usr/lib64 ; ln -sf libshotwell-plugin-dev-1.0.so.0.32.10 libshotwell-plugin-dev-1.0.so.0 )
( cd usr/share/help/ca/shotwell/figures ; rm -rf Shotwell.svg )
( cd usr/share/help/ca/shotwell/figures ; ln -sf /usr/share/help/C/shotwell/figures/Shotwell.svg Shotwell.svg )
( cd usr/share/help/ca/shotwell/figures ; rm -rf crop_thirds.jpg )
( cd usr/share/help/ca/shotwell/figures ; ln -sf /usr/share/help/C/shotwell/figures/crop_thirds.jpg crop_thirds.jpg )
( cd usr/share/help/ca/shotwell/figures ; rm -rf trash_process.png )
( cd usr/share/help/ca/shotwell/figures ; ln -sf /usr/share/help/C/shotwell/figures/trash_process.png trash_process.png )
( cd usr/share/help/ca/shotwell/figures ; rm -rf trash_process.svg )
( cd usr/share/help/ca/shotwell/figures ; ln -sf /usr/share/help/C/shotwell/figures/trash_process.svg trash_process.svg )
( cd usr/share/help/cs/shotwell/figures ; rm -rf Shotwell.svg )
( cd usr/share/help/cs/shotwell/figures ; ln -sf /usr/share/help/C/shotwell/figures/Shotwell.svg Shotwell.svg )
( cd usr/share/help/cs/shotwell/figures ; rm -rf crop_thirds.jpg )
( cd usr/share/help/cs/shotwell/figures ; ln -sf /usr/share/help/C/shotwell/figures/crop_thirds.jpg crop_thirds.jpg )
( cd usr/share/help/cs/shotwell/figures ; rm -rf trash_process.png )
( cd usr/share/help/cs/shotwell/figures ; ln -sf /usr/share/help/C/shotwell/figures/trash_process.png trash_process.png )
( cd usr/share/help/cs/shotwell/figures ; rm -rf trash_process.svg )
( cd usr/share/help/cs/shotwell/figures ; ln -sf /usr/share/help/C/shotwell/figures/trash_process.svg trash_process.svg )
( cd usr/share/help/de/shotwell/figures ; rm -rf Shotwell.svg )
( cd usr/share/help/de/shotwell/figures ; ln -sf /usr/share/help/C/shotwell/figures/Shotwell.svg Shotwell.svg )
( cd usr/share/help/de/shotwell/figures ; rm -rf crop_thirds.jpg )
( cd usr/share/help/de/shotwell/figures ; ln -sf /usr/share/help/C/shotwell/figures/crop_thirds.jpg crop_thirds.jpg )
( cd usr/share/help/de/shotwell/figures ; rm -rf trash_process.svg )
( cd usr/share/help/de/shotwell/figures ; ln -sf /usr/share/help/C/shotwell/figures/trash_process.svg trash_process.svg )
( cd usr/share/help/el/shotwell/figures ; rm -rf Shotwell.svg )
( cd usr/share/help/el/shotwell/figures ; ln -sf /usr/share/help/C/shotwell/figures/Shotwell.svg Shotwell.svg )
( cd usr/share/help/el/shotwell/figures ; rm -rf crop_thirds.jpg )
( cd usr/share/help/el/shotwell/figures ; ln -sf /usr/share/help/C/shotwell/figures/crop_thirds.jpg crop_thirds.jpg )
( cd usr/share/help/el/shotwell/figures ; rm -rf trash_process.png )
( cd usr/share/help/el/shotwell/figures ; ln -sf /usr/share/help/C/shotwell/figures/trash_process.png trash_process.png )
( cd usr/share/help/el/shotwell/figures ; rm -rf trash_process.svg )
( cd usr/share/help/el/shotwell/figures ; ln -sf /usr/share/help/C/shotwell/figures/trash_process.svg trash_process.svg )
( cd usr/share/help/es/shotwell/figures ; rm -rf Shotwell.svg )
( cd usr/share/help/es/shotwell/figures ; ln -sf /usr/share/help/C/shotwell/figures/Shotwell.svg Shotwell.svg )
( cd usr/share/help/es/shotwell/figures ; rm -rf crop_thirds.jpg )
( cd usr/share/help/es/shotwell/figures ; ln -sf /usr/share/help/C/shotwell/figures/crop_thirds.jpg crop_thirds.jpg )
( cd usr/share/help/es/shotwell/figures ; rm -rf trash_process.png )
( cd usr/share/help/es/shotwell/figures ; ln -sf /usr/share/help/C/shotwell/figures/trash_process.png trash_process.png )
( cd usr/share/help/es/shotwell/figures ; rm -rf trash_process.svg )
( cd usr/share/help/es/shotwell/figures ; ln -sf /usr/share/help/C/shotwell/figures/trash_process.svg trash_process.svg )
( cd usr/share/help/fr/shotwell/figures ; rm -rf Shotwell.svg )
( cd usr/share/help/fr/shotwell/figures ; ln -sf /usr/share/help/C/shotwell/figures/Shotwell.svg Shotwell.svg )
( cd usr/share/help/fr/shotwell/figures ; rm -rf crop_thirds.jpg )
( cd usr/share/help/fr/shotwell/figures ; ln -sf /usr/share/help/C/shotwell/figures/crop_thirds.jpg crop_thirds.jpg )
( cd usr/share/help/fr/shotwell/figures ; rm -rf trash_process.png )
( cd usr/share/help/fr/shotwell/figures ; ln -sf /usr/share/help/C/shotwell/figures/trash_process.png trash_process.png )
( cd usr/share/help/fr/shotwell/figures ; rm -rf trash_process.svg )
( cd usr/share/help/fr/shotwell/figures ; ln -sf /usr/share/help/C/shotwell/figures/trash_process.svg trash_process.svg )
( cd usr/share/help/hu/shotwell/figures ; rm -rf Shotwell.svg )
( cd usr/share/help/hu/shotwell/figures ; ln -sf /usr/share/help/C/shotwell/figures/Shotwell.svg Shotwell.svg )
( cd usr/share/help/hu/shotwell/figures ; rm -rf crop_thirds.jpg )
( cd usr/share/help/hu/shotwell/figures ; ln -sf /usr/share/help/C/shotwell/figures/crop_thirds.jpg crop_thirds.jpg )
( cd usr/share/help/hu/shotwell/figures ; rm -rf trash_process.png )
( cd usr/share/help/hu/shotwell/figures ; ln -sf /usr/share/help/C/shotwell/figures/trash_process.png trash_process.png )
( cd usr/share/help/hu/shotwell/figures ; rm -rf trash_process.svg )
( cd usr/share/help/hu/shotwell/figures ; ln -sf /usr/share/help/C/shotwell/figures/trash_process.svg trash_process.svg )
( cd usr/share/help/id/shotwell/figures ; rm -rf Shotwell.svg )
( cd usr/share/help/id/shotwell/figures ; ln -sf /usr/share/help/C/shotwell/figures/Shotwell.svg Shotwell.svg )
( cd usr/share/help/id/shotwell/figures ; rm -rf crop_thirds.jpg )
( cd usr/share/help/id/shotwell/figures ; ln -sf /usr/share/help/C/shotwell/figures/crop_thirds.jpg crop_thirds.jpg )
( cd usr/share/help/id/shotwell/figures ; rm -rf trash_process.png )
( cd usr/share/help/id/shotwell/figures ; ln -sf /usr/share/help/C/shotwell/figures/trash_process.png trash_process.png )
( cd usr/share/help/id/shotwell/figures ; rm -rf trash_process.svg )
( cd usr/share/help/id/shotwell/figures ; ln -sf /usr/share/help/C/shotwell/figures/trash_process.svg trash_process.svg )
( cd usr/share/help/lv/shotwell/figures ; rm -rf Shotwell.svg )
( cd usr/share/help/lv/shotwell/figures ; ln -sf /usr/share/help/C/shotwell/figures/Shotwell.svg Shotwell.svg )
( cd usr/share/help/lv/shotwell/figures ; rm -rf crop_thirds.jpg )
( cd usr/share/help/lv/shotwell/figures ; ln -sf /usr/share/help/C/shotwell/figures/crop_thirds.jpg crop_thirds.jpg )
( cd usr/share/help/lv/shotwell/figures ; rm -rf trash_process.svg )
( cd usr/share/help/lv/shotwell/figures ; ln -sf /usr/share/help/C/shotwell/figures/trash_process.svg trash_process.svg )
( cd usr/share/help/pt_BR/shotwell/figures ; rm -rf Shotwell.svg )
( cd usr/share/help/pt_BR/shotwell/figures ; ln -sf /usr/share/help/C/shotwell/figures/Shotwell.svg Shotwell.svg )
( cd usr/share/help/pt_BR/shotwell/figures ; rm -rf crop_thirds.jpg )
( cd usr/share/help/pt_BR/shotwell/figures ; ln -sf /usr/share/help/C/shotwell/figures/crop_thirds.jpg crop_thirds.jpg )
( cd usr/share/help/pt_BR/shotwell/figures ; rm -rf trash_process.svg )
( cd usr/share/help/pt_BR/shotwell/figures ; ln -sf /usr/share/help/C/shotwell/figures/trash_process.svg trash_process.svg )
( cd usr/share/help/ru/shotwell/figures ; rm -rf Shotwell.svg )
( cd usr/share/help/ru/shotwell/figures ; ln -sf /usr/share/help/C/shotwell/figures/Shotwell.svg Shotwell.svg )
( cd usr/share/help/ru/shotwell/figures ; rm -rf crop_thirds.jpg )
( cd usr/share/help/ru/shotwell/figures ; ln -sf /usr/share/help/C/shotwell/figures/crop_thirds.jpg crop_thirds.jpg )
( cd usr/share/help/ru/shotwell/figures ; rm -rf trash_process.png )
( cd usr/share/help/ru/shotwell/figures ; ln -sf /usr/share/help/C/shotwell/figures/trash_process.png trash_process.png )
( cd usr/share/help/ru/shotwell/figures ; rm -rf trash_process.svg )
( cd usr/share/help/ru/shotwell/figures ; ln -sf /usr/share/help/C/shotwell/figures/trash_process.svg trash_process.svg )
( cd usr/share/help/sv/shotwell/figures ; rm -rf Shotwell.svg )
( cd usr/share/help/sv/shotwell/figures ; ln -sf /usr/share/help/C/shotwell/figures/Shotwell.svg Shotwell.svg )
( cd usr/share/help/sv/shotwell/figures ; rm -rf crop_thirds.jpg )
( cd usr/share/help/sv/shotwell/figures ; ln -sf /usr/share/help/C/shotwell/figures/crop_thirds.jpg crop_thirds.jpg )
( cd usr/share/help/sv/shotwell/figures ; rm -rf trash_process.svg )
( cd usr/share/help/sv/shotwell/figures ; ln -sf /usr/share/help/C/shotwell/figures/trash_process.svg trash_process.svg )
( cd usr/share/help/uk/shotwell/figures ; rm -rf Shotwell.svg )
( cd usr/share/help/uk/shotwell/figures ; ln -sf /usr/share/help/C/shotwell/figures/Shotwell.svg Shotwell.svg )
( cd usr/share/help/uk/shotwell/figures ; rm -rf crop_thirds.jpg )
( cd usr/share/help/uk/shotwell/figures ; ln -sf /usr/share/help/C/shotwell/figures/crop_thirds.jpg crop_thirds.jpg )
( cd usr/share/help/uk/shotwell/figures ; rm -rf trash_process.png )
( cd usr/share/help/uk/shotwell/figures ; ln -sf /usr/share/help/C/shotwell/figures/trash_process.png trash_process.png )
( cd usr/share/help/uk/shotwell/figures ; rm -rf trash_process.svg )
( cd usr/share/help/uk/shotwell/figures ; ln -sf /usr/share/help/C/shotwell/figures/trash_process.svg trash_process.svg )
