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
( cd usr/share/doc/HTML/fr/rekonq ; rm -rf common )
( cd usr/share/doc/HTML/fr/rekonq ; ln -sf /usr/share/doc/HTML/fr/common common )
( cd usr/share/doc/HTML/en/rekonq ; rm -rf common )
( cd usr/share/doc/HTML/en/rekonq ; ln -sf /usr/share/doc/HTML/en/common common )
( cd usr/share/doc/HTML/pt_BR/rekonq ; rm -rf common )
( cd usr/share/doc/HTML/pt_BR/rekonq ; ln -sf /usr/share/doc/HTML/pt_BR/common common )
( cd usr/share/doc/HTML/sv/rekonq ; rm -rf common )
( cd usr/share/doc/HTML/sv/rekonq ; ln -sf /usr/share/doc/HTML/sv/common common )
( cd usr/share/doc/HTML/pt/rekonq ; rm -rf common )
( cd usr/share/doc/HTML/pt/rekonq ; ln -sf /usr/share/doc/HTML/pt/common common )
( cd usr/share/doc/HTML/et/rekonq ; rm -rf common )
( cd usr/share/doc/HTML/et/rekonq ; ln -sf /usr/share/doc/HTML/et/common common )
( cd usr/share/doc/HTML/es/rekonq ; rm -rf common )
( cd usr/share/doc/HTML/es/rekonq ; ln -sf /usr/share/doc/HTML/es/common common )
( cd usr/share/doc/HTML/uk/rekonq ; rm -rf common )
( cd usr/share/doc/HTML/uk/rekonq ; ln -sf /usr/share/doc/HTML/uk/common common )
( cd usr/share/doc/HTML/el/rekonq ; rm -rf common )
( cd usr/share/doc/HTML/el/rekonq ; ln -sf /usr/share/doc/HTML/el/common common )
( cd usr/share/doc/HTML/nl/rekonq ; rm -rf common )
( cd usr/share/doc/HTML/nl/rekonq ; ln -sf /usr/share/doc/HTML/nl/common common )
( cd usr/share/doc/HTML/de/rekonq ; rm -rf common )
( cd usr/share/doc/HTML/de/rekonq ; ln -sf /usr/share/doc/HTML/de/common common )
