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/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

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

( cd usr/share/help/ar/gedit/figures ; rm -rf gedit-html-snippet.png )
( cd usr/share/help/ar/gedit/figures ; ln -sf /usr/share/help/C/gedit/figures/gedit-html-snippet.png gedit-html-snippet.png )
( cd usr/share/help/ar/gedit/figures ; rm -rf gedit3-screenshot.png )
( cd usr/share/help/ar/gedit/figures ; ln -sf /usr/share/help/C/gedit/figures/gedit3-screenshot.png gedit3-screenshot.png )
( cd usr/share/help/ar/gedit/figures ; rm -rf org.gnome.gedit.svg )
( cd usr/share/help/ar/gedit/figures ; ln -sf /usr/share/help/C/gedit/figures/org.gnome.gedit.svg org.gnome.gedit.svg )
( cd usr/share/help/bg/gedit/figures ; rm -rf org.gnome.gedit.svg )
( cd usr/share/help/bg/gedit/figures ; ln -sf /usr/share/help/C/gedit/figures/org.gnome.gedit.svg org.gnome.gedit.svg )
( cd usr/share/help/ca/gedit/figures ; rm -rf gedit-html-snippet.png )
( cd usr/share/help/ca/gedit/figures ; ln -sf /usr/share/help/C/gedit/figures/gedit-html-snippet.png gedit-html-snippet.png )
( cd usr/share/help/ca/gedit/figures ; rm -rf gedit3-screenshot.png )
( cd usr/share/help/ca/gedit/figures ; ln -sf /usr/share/help/C/gedit/figures/gedit3-screenshot.png gedit3-screenshot.png )
( cd usr/share/help/ca/gedit/figures ; rm -rf org.gnome.gedit.svg )
( cd usr/share/help/ca/gedit/figures ; ln -sf /usr/share/help/C/gedit/figures/org.gnome.gedit.svg org.gnome.gedit.svg )
( cd usr/share/help/cs/gedit/figures ; rm -rf gedit-html-snippet.png )
( cd usr/share/help/cs/gedit/figures ; ln -sf /usr/share/help/C/gedit/figures/gedit-html-snippet.png gedit-html-snippet.png )
( cd usr/share/help/cs/gedit/figures ; rm -rf gedit3-screenshot.png )
( cd usr/share/help/cs/gedit/figures ; ln -sf /usr/share/help/C/gedit/figures/gedit3-screenshot.png gedit3-screenshot.png )
( cd usr/share/help/cs/gedit/figures ; rm -rf org.gnome.gedit.svg )
( cd usr/share/help/cs/gedit/figures ; ln -sf /usr/share/help/C/gedit/figures/org.gnome.gedit.svg org.gnome.gedit.svg )
( cd usr/share/help/da/gedit/figures ; rm -rf org.gnome.gedit.svg )
( cd usr/share/help/da/gedit/figures ; ln -sf /usr/share/help/C/gedit/figures/org.gnome.gedit.svg org.gnome.gedit.svg )
( cd usr/share/help/de/gedit/figures ; rm -rf org.gnome.gedit.svg )
( cd usr/share/help/de/gedit/figures ; ln -sf /usr/share/help/C/gedit/figures/org.gnome.gedit.svg org.gnome.gedit.svg )
( cd usr/share/help/el/gedit/figures ; rm -rf org.gnome.gedit.svg )
( cd usr/share/help/el/gedit/figures ; ln -sf /usr/share/help/C/gedit/figures/org.gnome.gedit.svg org.gnome.gedit.svg )
( cd usr/share/help/en_GB/gedit/figures ; rm -rf gedit-html-snippet.png )
( cd usr/share/help/en_GB/gedit/figures ; ln -sf /usr/share/help/C/gedit/figures/gedit-html-snippet.png gedit-html-snippet.png )
( cd usr/share/help/en_GB/gedit/figures ; rm -rf gedit3-screenshot.png )
( cd usr/share/help/en_GB/gedit/figures ; ln -sf /usr/share/help/C/gedit/figures/gedit3-screenshot.png gedit3-screenshot.png )
( cd usr/share/help/en_GB/gedit/figures ; rm -rf org.gnome.gedit.svg )
( cd usr/share/help/en_GB/gedit/figures ; ln -sf /usr/share/help/C/gedit/figures/org.gnome.gedit.svg org.gnome.gedit.svg )
( cd usr/share/help/es/gedit/figures ; rm -rf gedit-html-snippet.png )
( cd usr/share/help/es/gedit/figures ; ln -sf /usr/share/help/C/gedit/figures/gedit-html-snippet.png gedit-html-snippet.png )
( cd usr/share/help/es/gedit/figures ; rm -rf gedit3-screenshot.png )
( cd usr/share/help/es/gedit/figures ; ln -sf /usr/share/help/C/gedit/figures/gedit3-screenshot.png gedit3-screenshot.png )
( cd usr/share/help/es/gedit/figures ; rm -rf org.gnome.gedit.svg )
( cd usr/share/help/es/gedit/figures ; ln -sf /usr/share/help/C/gedit/figures/org.gnome.gedit.svg org.gnome.gedit.svg )
( cd usr/share/help/eu/gedit/figures ; rm -rf gedit-html-snippet.png )
( cd usr/share/help/eu/gedit/figures ; ln -sf /usr/share/help/C/gedit/figures/gedit-html-snippet.png gedit-html-snippet.png )
( cd usr/share/help/eu/gedit/figures ; rm -rf gedit3-screenshot.png )
( cd usr/share/help/eu/gedit/figures ; ln -sf /usr/share/help/C/gedit/figures/gedit3-screenshot.png gedit3-screenshot.png )
( cd usr/share/help/eu/gedit/figures ; rm -rf org.gnome.gedit.svg )
( cd usr/share/help/eu/gedit/figures ; ln -sf /usr/share/help/C/gedit/figures/org.gnome.gedit.svg org.gnome.gedit.svg )
( cd usr/share/help/fi/gedit/figures ; rm -rf gedit-html-snippet.png )
( cd usr/share/help/fi/gedit/figures ; ln -sf /usr/share/help/C/gedit/figures/gedit-html-snippet.png gedit-html-snippet.png )
( cd usr/share/help/fi/gedit/figures ; rm -rf gedit3-screenshot.png )
( cd usr/share/help/fi/gedit/figures ; ln -sf /usr/share/help/C/gedit/figures/gedit3-screenshot.png gedit3-screenshot.png )
( cd usr/share/help/fi/gedit/figures ; rm -rf org.gnome.gedit.svg )
( cd usr/share/help/fi/gedit/figures ; ln -sf /usr/share/help/C/gedit/figures/org.gnome.gedit.svg org.gnome.gedit.svg )
( cd usr/share/help/fr/gedit/figures ; rm -rf org.gnome.gedit.svg )
( cd usr/share/help/fr/gedit/figures ; ln -sf /usr/share/help/C/gedit/figures/org.gnome.gedit.svg org.gnome.gedit.svg )
( cd usr/share/help/gl/gedit/figures ; rm -rf gedit-html-snippet.png )
( cd usr/share/help/gl/gedit/figures ; ln -sf /usr/share/help/C/gedit/figures/gedit-html-snippet.png gedit-html-snippet.png )
( cd usr/share/help/gl/gedit/figures ; rm -rf gedit3-screenshot.png )
( cd usr/share/help/gl/gedit/figures ; ln -sf /usr/share/help/C/gedit/figures/gedit3-screenshot.png gedit3-screenshot.png )
( cd usr/share/help/gl/gedit/figures ; rm -rf org.gnome.gedit.svg )
( cd usr/share/help/gl/gedit/figures ; ln -sf /usr/share/help/C/gedit/figures/org.gnome.gedit.svg org.gnome.gedit.svg )
( cd usr/share/help/hu/gedit/figures ; rm -rf org.gnome.gedit.svg )
( cd usr/share/help/hu/gedit/figures ; ln -sf /usr/share/help/C/gedit/figures/org.gnome.gedit.svg org.gnome.gedit.svg )
( cd usr/share/help/id/gedit/figures ; rm -rf gedit-html-snippet.png )
( cd usr/share/help/id/gedit/figures ; ln -sf /usr/share/help/C/gedit/figures/gedit-html-snippet.png gedit-html-snippet.png )
( cd usr/share/help/id/gedit/figures ; rm -rf gedit3-screenshot.png )
( cd usr/share/help/id/gedit/figures ; ln -sf /usr/share/help/C/gedit/figures/gedit3-screenshot.png gedit3-screenshot.png )
( cd usr/share/help/id/gedit/figures ; rm -rf org.gnome.gedit.svg )
( cd usr/share/help/id/gedit/figures ; ln -sf /usr/share/help/C/gedit/figures/org.gnome.gedit.svg org.gnome.gedit.svg )
( cd usr/share/help/it/gedit/figures ; rm -rf gedit-html-snippet.png )
( cd usr/share/help/it/gedit/figures ; ln -sf /usr/share/help/C/gedit/figures/gedit-html-snippet.png gedit-html-snippet.png )
( cd usr/share/help/it/gedit/figures ; rm -rf gedit3-screenshot.png )
( cd usr/share/help/it/gedit/figures ; ln -sf /usr/share/help/C/gedit/figures/gedit3-screenshot.png gedit3-screenshot.png )
( cd usr/share/help/it/gedit/figures ; rm -rf org.gnome.gedit.svg )
( cd usr/share/help/it/gedit/figures ; ln -sf /usr/share/help/C/gedit/figures/org.gnome.gedit.svg org.gnome.gedit.svg )
( cd usr/share/help/ja/gedit/figures ; rm -rf gedit-html-snippet.png )
( cd usr/share/help/ja/gedit/figures ; ln -sf /usr/share/help/C/gedit/figures/gedit-html-snippet.png gedit-html-snippet.png )
( cd usr/share/help/ja/gedit/figures ; rm -rf gedit3-screenshot.png )
( cd usr/share/help/ja/gedit/figures ; ln -sf /usr/share/help/C/gedit/figures/gedit3-screenshot.png gedit3-screenshot.png )
( cd usr/share/help/ja/gedit/figures ; rm -rf org.gnome.gedit.svg )
( cd usr/share/help/ja/gedit/figures ; ln -sf /usr/share/help/C/gedit/figures/org.gnome.gedit.svg org.gnome.gedit.svg )
( cd usr/share/help/ko/gedit/figures ; rm -rf gedit-html-snippet.png )
( cd usr/share/help/ko/gedit/figures ; ln -sf /usr/share/help/C/gedit/figures/gedit-html-snippet.png gedit-html-snippet.png )
( cd usr/share/help/ko/gedit/figures ; rm -rf gedit3-screenshot.png )
( cd usr/share/help/ko/gedit/figures ; ln -sf /usr/share/help/C/gedit/figures/gedit3-screenshot.png gedit3-screenshot.png )
( cd usr/share/help/ko/gedit/figures ; rm -rf org.gnome.gedit.svg )
( cd usr/share/help/ko/gedit/figures ; ln -sf /usr/share/help/C/gedit/figures/org.gnome.gedit.svg org.gnome.gedit.svg )
( cd usr/share/help/lv/gedit/figures ; rm -rf gedit-html-snippet.png )
( cd usr/share/help/lv/gedit/figures ; ln -sf /usr/share/help/C/gedit/figures/gedit-html-snippet.png gedit-html-snippet.png )
( cd usr/share/help/lv/gedit/figures ; rm -rf gedit3-screenshot.png )
( cd usr/share/help/lv/gedit/figures ; ln -sf /usr/share/help/C/gedit/figures/gedit3-screenshot.png gedit3-screenshot.png )
( cd usr/share/help/lv/gedit/figures ; rm -rf org.gnome.gedit.svg )
( cd usr/share/help/lv/gedit/figures ; ln -sf /usr/share/help/C/gedit/figures/org.gnome.gedit.svg org.gnome.gedit.svg )
( cd usr/share/help/oc/gedit/figures ; rm -rf gedit-html-snippet.png )
( cd usr/share/help/oc/gedit/figures ; ln -sf /usr/share/help/C/gedit/figures/gedit-html-snippet.png gedit-html-snippet.png )
( cd usr/share/help/oc/gedit/figures ; rm -rf gedit3-screenshot.png )
( cd usr/share/help/oc/gedit/figures ; ln -sf /usr/share/help/C/gedit/figures/gedit3-screenshot.png gedit3-screenshot.png )
( cd usr/share/help/oc/gedit/figures ; rm -rf org.gnome.gedit.svg )
( cd usr/share/help/oc/gedit/figures ; ln -sf /usr/share/help/C/gedit/figures/org.gnome.gedit.svg org.gnome.gedit.svg )
( cd usr/share/help/pl/gedit/figures ; rm -rf org.gnome.gedit.svg )
( cd usr/share/help/pl/gedit/figures ; ln -sf /usr/share/help/C/gedit/figures/org.gnome.gedit.svg org.gnome.gedit.svg )
( cd usr/share/help/pt_BR/gedit/figures ; rm -rf org.gnome.gedit.svg )
( cd usr/share/help/pt_BR/gedit/figures ; ln -sf /usr/share/help/C/gedit/figures/org.gnome.gedit.svg org.gnome.gedit.svg )
( cd usr/share/help/ro/gedit/figures ; rm -rf org.gnome.gedit.svg )
( cd usr/share/help/ro/gedit/figures ; ln -sf /usr/share/help/C/gedit/figures/org.gnome.gedit.svg org.gnome.gedit.svg )
( cd usr/share/help/ru/gedit/figures ; rm -rf gedit-html-snippet.png )
( cd usr/share/help/ru/gedit/figures ; ln -sf /usr/share/help/C/gedit/figures/gedit-html-snippet.png gedit-html-snippet.png )
( cd usr/share/help/ru/gedit/figures ; rm -rf gedit3-screenshot.png )
( cd usr/share/help/ru/gedit/figures ; ln -sf /usr/share/help/C/gedit/figures/gedit3-screenshot.png gedit3-screenshot.png )
( cd usr/share/help/ru/gedit/figures ; rm -rf org.gnome.gedit.svg )
( cd usr/share/help/ru/gedit/figures ; ln -sf /usr/share/help/C/gedit/figures/org.gnome.gedit.svg org.gnome.gedit.svg )
( cd usr/share/help/sl/gedit/figures ; rm -rf gedit-html-snippet.png )
( cd usr/share/help/sl/gedit/figures ; ln -sf /usr/share/help/C/gedit/figures/gedit-html-snippet.png gedit-html-snippet.png )
( cd usr/share/help/sl/gedit/figures ; rm -rf gedit3-screenshot.png )
( cd usr/share/help/sl/gedit/figures ; ln -sf /usr/share/help/C/gedit/figures/gedit3-screenshot.png gedit3-screenshot.png )
( cd usr/share/help/sl/gedit/figures ; rm -rf org.gnome.gedit.svg )
( cd usr/share/help/sl/gedit/figures ; ln -sf /usr/share/help/C/gedit/figures/org.gnome.gedit.svg org.gnome.gedit.svg )
( cd usr/share/help/sv/gedit/figures ; rm -rf org.gnome.gedit.svg )
( cd usr/share/help/sv/gedit/figures ; ln -sf /usr/share/help/C/gedit/figures/org.gnome.gedit.svg org.gnome.gedit.svg )
( cd usr/share/help/te/gedit/figures ; rm -rf gedit-html-snippet.png )
( cd usr/share/help/te/gedit/figures ; ln -sf /usr/share/help/C/gedit/figures/gedit-html-snippet.png gedit-html-snippet.png )
( cd usr/share/help/te/gedit/figures ; rm -rf gedit3-screenshot.png )
( cd usr/share/help/te/gedit/figures ; ln -sf /usr/share/help/C/gedit/figures/gedit3-screenshot.png gedit3-screenshot.png )
( cd usr/share/help/te/gedit/figures ; rm -rf org.gnome.gedit.svg )
( cd usr/share/help/te/gedit/figures ; ln -sf /usr/share/help/C/gedit/figures/org.gnome.gedit.svg org.gnome.gedit.svg )
( cd usr/share/help/th/gedit/figures ; rm -rf gedit-html-snippet.png )
( cd usr/share/help/th/gedit/figures ; ln -sf /usr/share/help/C/gedit/figures/gedit-html-snippet.png gedit-html-snippet.png )
( cd usr/share/help/th/gedit/figures ; rm -rf gedit3-screenshot.png )
( cd usr/share/help/th/gedit/figures ; ln -sf /usr/share/help/C/gedit/figures/gedit3-screenshot.png gedit3-screenshot.png )
( cd usr/share/help/th/gedit/figures ; rm -rf org.gnome.gedit.svg )
( cd usr/share/help/th/gedit/figures ; ln -sf /usr/share/help/C/gedit/figures/org.gnome.gedit.svg org.gnome.gedit.svg )
( cd usr/share/help/uk/gedit/figures ; rm -rf gedit-html-snippet.png )
( cd usr/share/help/uk/gedit/figures ; ln -sf /usr/share/help/C/gedit/figures/gedit-html-snippet.png gedit-html-snippet.png )
( cd usr/share/help/uk/gedit/figures ; rm -rf gedit3-screenshot.png )
( cd usr/share/help/uk/gedit/figures ; ln -sf /usr/share/help/C/gedit/figures/gedit3-screenshot.png gedit3-screenshot.png )
( cd usr/share/help/uk/gedit/figures ; rm -rf org.gnome.gedit.svg )
( cd usr/share/help/uk/gedit/figures ; ln -sf /usr/share/help/C/gedit/figures/org.gnome.gedit.svg org.gnome.gedit.svg )
( cd usr/share/help/zh_CN/gedit/figures ; rm -rf gedit-html-snippet.png )
( cd usr/share/help/zh_CN/gedit/figures ; ln -sf /usr/share/help/C/gedit/figures/gedit-html-snippet.png gedit-html-snippet.png )
( cd usr/share/help/zh_CN/gedit/figures ; rm -rf gedit3-screenshot.png )
( cd usr/share/help/zh_CN/gedit/figures ; ln -sf /usr/share/help/C/gedit/figures/gedit3-screenshot.png gedit3-screenshot.png )
( cd usr/share/help/zh_CN/gedit/figures ; rm -rf org.gnome.gedit.svg )
( cd usr/share/help/zh_CN/gedit/figures ; ln -sf /usr/share/help/C/gedit/figures/org.gnome.gedit.svg org.gnome.gedit.svg )
( cd usr/share/help/zh_HK/gedit/figures ; rm -rf gedit-html-snippet.png )
( cd usr/share/help/zh_HK/gedit/figures ; ln -sf /usr/share/help/C/gedit/figures/gedit-html-snippet.png gedit-html-snippet.png )
( cd usr/share/help/zh_HK/gedit/figures ; rm -rf gedit3-screenshot.png )
( cd usr/share/help/zh_HK/gedit/figures ; ln -sf /usr/share/help/C/gedit/figures/gedit3-screenshot.png gedit3-screenshot.png )
( cd usr/share/help/zh_HK/gedit/figures ; rm -rf org.gnome.gedit.svg )
( cd usr/share/help/zh_HK/gedit/figures ; ln -sf /usr/share/help/C/gedit/figures/org.gnome.gedit.svg org.gnome.gedit.svg )
( cd usr/share/help/zh_TW/gedit/figures ; rm -rf gedit-html-snippet.png )
( cd usr/share/help/zh_TW/gedit/figures ; ln -sf /usr/share/help/C/gedit/figures/gedit-html-snippet.png gedit-html-snippet.png )
( cd usr/share/help/zh_TW/gedit/figures ; rm -rf gedit3-screenshot.png )
( cd usr/share/help/zh_TW/gedit/figures ; ln -sf /usr/share/help/C/gedit/figures/gedit3-screenshot.png gedit3-screenshot.png )
( cd usr/share/help/zh_TW/gedit/figures ; rm -rf org.gnome.gedit.svg )
( cd usr/share/help/zh_TW/gedit/figures ; ln -sf /usr/share/help/C/gedit/figures/org.gnome.gedit.svg org.gnome.gedit.svg )
