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