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