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 -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 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/share/help/ca/gnome-clocks/figures ; rm -rf gnome-clocks.png )
( cd usr/share/help/ca/gnome-clocks/figures ; ln -sf ../../../C/gnome-clocks/figures/gnome-clocks.png gnome-clocks.png )
( cd usr/share/help/cs/gnome-clocks/figures ; rm -rf gnome-clocks.png )
( cd usr/share/help/cs/gnome-clocks/figures ; ln -sf ../../../C/gnome-clocks/figures/gnome-clocks.png gnome-clocks.png )
( cd usr/share/help/da/gnome-clocks/figures ; rm -rf gnome-clocks.png )
( cd usr/share/help/da/gnome-clocks/figures ; ln -sf ../../../C/gnome-clocks/figures/gnome-clocks.png gnome-clocks.png )
( cd usr/share/help/de/gnome-clocks/figures ; rm -rf gnome-clocks.png )
( cd usr/share/help/de/gnome-clocks/figures ; ln -sf ../../../C/gnome-clocks/figures/gnome-clocks.png gnome-clocks.png )
( cd usr/share/help/el/gnome-clocks/figures ; rm -rf gnome-clocks.png )
( cd usr/share/help/el/gnome-clocks/figures ; ln -sf ../../../C/gnome-clocks/figures/gnome-clocks.png gnome-clocks.png )
( cd usr/share/help/en_GB/gnome-clocks/figures ; rm -rf gnome-clocks.png )
( cd usr/share/help/en_GB/gnome-clocks/figures ; ln -sf ../../../C/gnome-clocks/figures/gnome-clocks.png gnome-clocks.png )
( cd usr/share/help/es/gnome-clocks/figures ; rm -rf gnome-clocks.png )
( cd usr/share/help/es/gnome-clocks/figures ; ln -sf ../../../C/gnome-clocks/figures/gnome-clocks.png gnome-clocks.png )
( cd usr/share/help/eu/gnome-clocks/figures ; rm -rf gnome-clocks.png )
( cd usr/share/help/eu/gnome-clocks/figures ; ln -sf ../../../C/gnome-clocks/figures/gnome-clocks.png gnome-clocks.png )
( cd usr/share/help/fi/gnome-clocks/figures ; rm -rf gnome-clocks.png )
( cd usr/share/help/fi/gnome-clocks/figures ; ln -sf ../../../C/gnome-clocks/figures/gnome-clocks.png gnome-clocks.png )
( cd usr/share/help/fr/gnome-clocks/figures ; rm -rf gnome-clocks.png )
( cd usr/share/help/fr/gnome-clocks/figures ; ln -sf ../../../C/gnome-clocks/figures/gnome-clocks.png gnome-clocks.png )
( cd usr/share/help/gl/gnome-clocks/figures ; rm -rf gnome-clocks.png )
( cd usr/share/help/gl/gnome-clocks/figures ; ln -sf ../../../C/gnome-clocks/figures/gnome-clocks.png gnome-clocks.png )
( cd usr/share/help/hu/gnome-clocks/figures ; rm -rf gnome-clocks.png )
( cd usr/share/help/hu/gnome-clocks/figures ; ln -sf ../../../C/gnome-clocks/figures/gnome-clocks.png gnome-clocks.png )
( cd usr/share/help/id/gnome-clocks/figures ; rm -rf gnome-clocks.png )
( cd usr/share/help/id/gnome-clocks/figures ; ln -sf ../../../C/gnome-clocks/figures/gnome-clocks.png gnome-clocks.png )
( cd usr/share/help/it/gnome-clocks/figures ; rm -rf gnome-clocks.png )
( cd usr/share/help/it/gnome-clocks/figures ; ln -sf ../../../C/gnome-clocks/figures/gnome-clocks.png gnome-clocks.png )
( cd usr/share/help/ko/gnome-clocks/figures ; rm -rf gnome-clocks.png )
( cd usr/share/help/ko/gnome-clocks/figures ; ln -sf ../../../C/gnome-clocks/figures/gnome-clocks.png gnome-clocks.png )
( cd usr/share/help/nl/gnome-clocks/figures ; rm -rf gnome-clocks.png )
( cd usr/share/help/nl/gnome-clocks/figures ; ln -sf ../../../C/gnome-clocks/figures/gnome-clocks.png gnome-clocks.png )
( cd usr/share/help/pl/gnome-clocks/figures ; rm -rf gnome-clocks.png )
( cd usr/share/help/pl/gnome-clocks/figures ; ln -sf ../../../C/gnome-clocks/figures/gnome-clocks.png gnome-clocks.png )
( cd usr/share/help/pt_BR/gnome-clocks/figures ; rm -rf gnome-clocks.png )
( cd usr/share/help/pt_BR/gnome-clocks/figures ; ln -sf ../../../C/gnome-clocks/figures/gnome-clocks.png gnome-clocks.png )
( cd usr/share/help/ru/gnome-clocks/figures ; rm -rf gnome-clocks.png )
( cd usr/share/help/ru/gnome-clocks/figures ; ln -sf ../../../C/gnome-clocks/figures/gnome-clocks.png gnome-clocks.png )
( cd usr/share/help/sv/gnome-clocks/figures ; rm -rf gnome-clocks.png )
( cd usr/share/help/sv/gnome-clocks/figures ; ln -sf ../../../C/gnome-clocks/figures/gnome-clocks.png gnome-clocks.png )
( cd usr/share/help/tr/gnome-clocks/figures ; rm -rf gnome-clocks.png )
( cd usr/share/help/tr/gnome-clocks/figures ; ln -sf ../../../C/gnome-clocks/figures/gnome-clocks.png gnome-clocks.png )
( cd usr/share/help/uk/gnome-clocks/figures ; rm -rf gnome-clocks.png )
( cd usr/share/help/uk/gnome-clocks/figures ; ln -sf ../../../C/gnome-clocks/figures/gnome-clocks.png gnome-clocks.png )
