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 &> /dev/null
fi

if [ -x /usr/bin/gtk-update-icon-cache ]; then
  /usr/bin/gtk-update-icon-cache  -f -q /usr/share/icons/hicolor &> /dev/null
fi

( cd usr/share/doc/HTML/fr/tellico ; rm -rf common )
( cd usr/share/doc/HTML/fr/tellico ; ln -sf /usr/share/doc/HTML/fr//common common )
( cd usr/share/doc/HTML/pt/tellico ; rm -rf common )
( cd usr/share/doc/HTML/pt/tellico ; ln -sf /usr/share/doc/HTML/pt//common common )
( cd usr/share/doc/HTML/uk/tellico ; rm -rf common )
( cd usr/share/doc/HTML/uk/tellico ; ln -sf /usr/share/doc/HTML/uk//common common )
( cd usr/share/doc/HTML/sv/tellico ; rm -rf common )
( cd usr/share/doc/HTML/sv/tellico ; ln -sf /usr/share/doc/HTML/sv//common common )
( cd usr/share/doc/HTML/en/tellico ; rm -rf common )
( cd usr/share/doc/HTML/en/tellico ; ln -sf /usr/share/doc/HTML/en/common common )
( cd usr/share/doc/HTML/es/tellico ; rm -rf common )
( cd usr/share/doc/HTML/es/tellico ; ln -sf /usr/share/doc/HTML/es//common common )
( cd usr/share/doc/HTML/pt_BR/tellico ; rm -rf common )
( cd usr/share/doc/HTML/pt_BR/tellico ; ln -sf /usr/share/doc/HTML/pt_BR//common common )
