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 usr/share/icons/hicolor >/dev/null 2>&1
  fi
fi
( 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/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/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/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/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/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/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/da/kdiff3 ; rm -rf common )
( cd usr/share/doc/HTML/da/kdiff3 ; ln -sf /usr/share/doc/HTML/da/common common )
