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/lib64 ; rm -rf libgcalc-2.so )
( cd usr/lib64 ; ln -sf libgcalc-2.so.1.0.1 libgcalc-2.so )
( cd usr/lib64 ; rm -rf libgcalc-2.so.1.0.1 )
( cd usr/lib64 ; ln -sf libgcalc-2.so.1 libgcalc-2.so.1.0.1 )
( cd usr/lib64 ; rm -rf libgci-1.so )
( cd usr/lib64 ; ln -sf libgci-1.so.0.0.0 libgci-1.so )
( cd usr/lib64 ; rm -rf libgci-1.so.0.0.0 )
( cd usr/lib64 ; ln -sf libgci-1.so.0 libgci-1.so.0.0.0 )
( cd usr/share/help/ca/gnome-calculator/figures ; rm -rf org.gnome.Calculator.svg )
( cd usr/share/help/ca/gnome-calculator/figures ; ln -sf ../../../C/gnome-calculator/figures/org.gnome.Calculator.svg org.gnome.Calculator.svg )
( cd usr/share/help/cs/gnome-calculator/figures ; rm -rf org.gnome.Calculator.svg )
( cd usr/share/help/cs/gnome-calculator/figures ; ln -sf ../../../C/gnome-calculator/figures/org.gnome.Calculator.svg org.gnome.Calculator.svg )
( cd usr/share/help/da/gnome-calculator/figures ; rm -rf org.gnome.Calculator.svg )
( cd usr/share/help/da/gnome-calculator/figures ; ln -sf ../../../C/gnome-calculator/figures/org.gnome.Calculator.svg org.gnome.Calculator.svg )
( cd usr/share/help/de/gnome-calculator/figures ; rm -rf org.gnome.Calculator.svg )
( cd usr/share/help/de/gnome-calculator/figures ; ln -sf ../../../C/gnome-calculator/figures/org.gnome.Calculator.svg org.gnome.Calculator.svg )
( cd usr/share/help/el/gnome-calculator/figures ; rm -rf org.gnome.Calculator.svg )
( cd usr/share/help/el/gnome-calculator/figures ; ln -sf ../../../C/gnome-calculator/figures/org.gnome.Calculator.svg org.gnome.Calculator.svg )
( cd usr/share/help/es/gnome-calculator/figures ; rm -rf org.gnome.Calculator.svg )
( cd usr/share/help/es/gnome-calculator/figures ; ln -sf ../../../C/gnome-calculator/figures/org.gnome.Calculator.svg org.gnome.Calculator.svg )
( cd usr/share/help/eu/gnome-calculator/figures ; rm -rf org.gnome.Calculator.svg )
( cd usr/share/help/eu/gnome-calculator/figures ; ln -sf ../../../C/gnome-calculator/figures/org.gnome.Calculator.svg org.gnome.Calculator.svg )
( cd usr/share/help/fi/gnome-calculator/figures ; rm -rf org.gnome.Calculator.svg )
( cd usr/share/help/fi/gnome-calculator/figures ; ln -sf ../../../C/gnome-calculator/figures/org.gnome.Calculator.svg org.gnome.Calculator.svg )
( cd usr/share/help/fr/gnome-calculator/figures ; rm -rf org.gnome.Calculator.svg )
( cd usr/share/help/fr/gnome-calculator/figures ; ln -sf ../../../C/gnome-calculator/figures/org.gnome.Calculator.svg org.gnome.Calculator.svg )
( cd usr/share/help/gl/gnome-calculator/figures ; rm -rf org.gnome.Calculator.svg )
( cd usr/share/help/gl/gnome-calculator/figures ; ln -sf ../../../C/gnome-calculator/figures/org.gnome.Calculator.svg org.gnome.Calculator.svg )
( cd usr/share/help/hu/gnome-calculator/figures ; rm -rf org.gnome.Calculator.svg )
( cd usr/share/help/hu/gnome-calculator/figures ; ln -sf ../../../C/gnome-calculator/figures/org.gnome.Calculator.svg org.gnome.Calculator.svg )
( cd usr/share/help/id/gnome-calculator/figures ; rm -rf org.gnome.Calculator.svg )
( cd usr/share/help/id/gnome-calculator/figures ; ln -sf ../../../C/gnome-calculator/figures/org.gnome.Calculator.svg org.gnome.Calculator.svg )
( cd usr/share/help/it/gnome-calculator/figures ; rm -rf org.gnome.Calculator.svg )
( cd usr/share/help/it/gnome-calculator/figures ; ln -sf ../../../C/gnome-calculator/figures/org.gnome.Calculator.svg org.gnome.Calculator.svg )
( cd usr/share/help/ja/gnome-calculator/figures ; rm -rf org.gnome.Calculator.svg )
( cd usr/share/help/ja/gnome-calculator/figures ; ln -sf ../../../C/gnome-calculator/figures/org.gnome.Calculator.svg org.gnome.Calculator.svg )
( cd usr/share/help/ko/gnome-calculator/figures ; rm -rf org.gnome.Calculator.svg )
( cd usr/share/help/ko/gnome-calculator/figures ; ln -sf ../../../C/gnome-calculator/figures/org.gnome.Calculator.svg org.gnome.Calculator.svg )
( cd usr/share/help/lv/gnome-calculator/figures ; rm -rf org.gnome.Calculator.svg )
( cd usr/share/help/lv/gnome-calculator/figures ; ln -sf ../../../C/gnome-calculator/figures/org.gnome.Calculator.svg org.gnome.Calculator.svg )
( cd usr/share/help/nl/gnome-calculator/figures ; rm -rf org.gnome.Calculator.svg )
( cd usr/share/help/nl/gnome-calculator/figures ; ln -sf ../../../C/gnome-calculator/figures/org.gnome.Calculator.svg org.gnome.Calculator.svg )
( cd usr/share/help/oc/gnome-calculator/figures ; rm -rf org.gnome.Calculator.svg )
( cd usr/share/help/oc/gnome-calculator/figures ; ln -sf ../../../C/gnome-calculator/figures/org.gnome.Calculator.svg org.gnome.Calculator.svg )
( cd usr/share/help/pl/gnome-calculator/figures ; rm -rf org.gnome.Calculator.svg )
( cd usr/share/help/pl/gnome-calculator/figures ; ln -sf ../../../C/gnome-calculator/figures/org.gnome.Calculator.svg org.gnome.Calculator.svg )
( cd usr/share/help/pt/gnome-calculator/figures ; rm -rf org.gnome.Calculator.svg )
( cd usr/share/help/pt/gnome-calculator/figures ; ln -sf ../../../C/gnome-calculator/figures/org.gnome.Calculator.svg org.gnome.Calculator.svg )
( cd usr/share/help/pt_BR/gnome-calculator/figures ; rm -rf org.gnome.Calculator.svg )
( cd usr/share/help/pt_BR/gnome-calculator/figures ; ln -sf ../../../C/gnome-calculator/figures/org.gnome.Calculator.svg org.gnome.Calculator.svg )
( cd usr/share/help/ro/gnome-calculator/figures ; rm -rf org.gnome.Calculator.svg )
( cd usr/share/help/ro/gnome-calculator/figures ; ln -sf ../../../C/gnome-calculator/figures/org.gnome.Calculator.svg org.gnome.Calculator.svg )
( cd usr/share/help/ru/gnome-calculator/figures ; rm -rf org.gnome.Calculator.svg )
( cd usr/share/help/ru/gnome-calculator/figures ; ln -sf ../../../C/gnome-calculator/figures/org.gnome.Calculator.svg org.gnome.Calculator.svg )
( cd usr/share/help/sl/gnome-calculator/figures ; rm -rf org.gnome.Calculator.svg )
( cd usr/share/help/sl/gnome-calculator/figures ; ln -sf ../../../C/gnome-calculator/figures/org.gnome.Calculator.svg org.gnome.Calculator.svg )
( cd usr/share/help/sv/gnome-calculator/figures ; rm -rf org.gnome.Calculator.svg )
( cd usr/share/help/sv/gnome-calculator/figures ; ln -sf ../../../C/gnome-calculator/figures/org.gnome.Calculator.svg org.gnome.Calculator.svg )
( cd usr/share/help/te/gnome-calculator/figures ; rm -rf org.gnome.Calculator.svg )
( cd usr/share/help/te/gnome-calculator/figures ; ln -sf ../../../C/gnome-calculator/figures/org.gnome.Calculator.svg org.gnome.Calculator.svg )
( cd usr/share/help/tr/gnome-calculator/figures ; rm -rf org.gnome.Calculator.svg )
( cd usr/share/help/tr/gnome-calculator/figures ; ln -sf ../../../C/gnome-calculator/figures/org.gnome.Calculator.svg org.gnome.Calculator.svg )
( cd usr/share/help/uk/gnome-calculator/figures ; rm -rf org.gnome.Calculator.svg )
( cd usr/share/help/uk/gnome-calculator/figures ; ln -sf ../../../C/gnome-calculator/figures/org.gnome.Calculator.svg org.gnome.Calculator.svg )
( cd usr/share/help/zh_CN/gnome-calculator/figures ; rm -rf org.gnome.Calculator.svg )
( cd usr/share/help/zh_CN/gnome-calculator/figures ; ln -sf ../../../C/gnome-calculator/figures/org.gnome.Calculator.svg org.gnome.Calculator.svg )
( cd usr/share/help/zh_HK/gnome-calculator/figures ; rm -rf org.gnome.Calculator.svg )
( cd usr/share/help/zh_HK/gnome-calculator/figures ; ln -sf ../../../C/gnome-calculator/figures/org.gnome.Calculator.svg org.gnome.Calculator.svg )
( cd usr/share/help/zh_TW/gnome-calculator/figures ; rm -rf org.gnome.Calculator.svg )
( cd usr/share/help/zh_TW/gnome-calculator/figures ; ln -sf ../../../C/gnome-calculator/figures/org.gnome.Calculator.svg org.gnome.Calculator.svg )
