
if [ -x /usr/bin/update-desktop-database ]; then
  /usr/bin/update-desktop-database /usr/share/applications >/dev/null 2>&1
fi

( cd usr/share/doc/HTML/en/koffice ; rm -rf common )
( cd usr/share/doc/HTML/en/koffice ; ln -sf /usr/share/doc/HTML/en/common common )
( cd usr/share/doc/HTML/en/kplato ; rm -rf common )
( cd usr/share/doc/HTML/en/kplato ; ln -sf /usr/share/doc/HTML/en/common common )
( cd usr/share/doc/HTML/en/kpresenter ; rm -rf common )
( cd usr/share/doc/HTML/en/kpresenter ; ln -sf /usr/share/doc/HTML/en/common common )
( cd usr/share/doc/HTML/en/kspread ; rm -rf common )
( cd usr/share/doc/HTML/en/kspread ; ln -sf /usr/share/doc/HTML/en/common common )
( cd usr/share/doc/HTML/en/kchart ; rm -rf common )
( cd usr/share/doc/HTML/en/kchart ; ln -sf /usr/share/doc/HTML/en/common common )
( cd usr/share/doc/HTML/en/thesaurus ; rm -rf common )
( cd usr/share/doc/HTML/en/thesaurus ; ln -sf /usr/share/doc/HTML/en/common common )
( cd usr/share/doc/HTML/en/karbon ; rm -rf common )
( cd usr/share/doc/HTML/en/karbon ; ln -sf /usr/share/doc/HTML/en/common common )
( cd usr/share/doc/HTML/en/kword ; rm -rf common )
( cd usr/share/doc/HTML/en/kword ; ln -sf /usr/share/doc/HTML/en/common common )
( cd usr/share/doc/HTML/en/krita ; rm -rf common )
( cd usr/share/doc/HTML/en/krita ; ln -sf /usr/share/doc/HTML/en/common common )
( cd usr/lib64 ; rm -rf libkofficegrayau8colorspace.so )
( cd usr/lib64 ; ln -sf libkofficegrayau8colorspace.so.5 libkofficegrayau8colorspace.so )
( cd usr/lib64 ; rm -rf libkoffice_graya_u16.so.5 )
( cd usr/lib64 ; ln -sf libkoffice_graya_u16.so.5.0.0 libkoffice_graya_u16.so.5 )
( cd usr/lib64 ; rm -rf libkplatoui.so.5 )
( cd usr/lib64 ; ln -sf libkplatoui.so.5.0.0 libkplatoui.so.5 )
( cd usr/lib64 ; rm -rf libkrita_xyz_u16.so )
( cd usr/lib64 ; ln -sf libkrita_xyz_u16.so.5 libkrita_xyz_u16.so )
( cd usr/lib64 ; rm -rf libkritadynamicbrush.so.5 )
( cd usr/lib64 ; ln -sf libkritadynamicbrush.so.5.0.0 libkritadynamicbrush.so.5 )
( cd usr/lib64 ; rm -rf libkoodf.so.5 )
( cd usr/lib64 ; ln -sf libkoodf.so.5.0.0 libkoodf.so.5 )
( cd usr/lib64 ; rm -rf libkpresenterprivate.so.5 )
( cd usr/lib64 ; ln -sf libkpresenterprivate.so.5.0.0 libkpresenterprivate.so.5 )
( cd usr/lib64 ; rm -rf libkoodf.so )
( cd usr/lib64 ; ln -sf libkoodf.so.5 libkoodf.so )
( cd usr/lib64 ; rm -rf libkritaui.so.5 )
( cd usr/lib64 ; ln -sf libkritaui.so.5.0.0 libkritaui.so.5 )
( cd usr/lib64 ; rm -rf libkspreadcommon.so.5 )
( cd usr/lib64 ; ln -sf libkspreadcommon.so.5.0.0 libkspreadcommon.so.5 )
( cd usr/lib64 ; rm -rf libkritaimage.so.5 )
( cd usr/lib64 ; ln -sf libkritaimage.so.5.0.0 libkritaimage.so.5 )
( cd usr/lib64 ; rm -rf libkoguiutils.so )
( cd usr/lib64 ; ln -sf libkoguiutils.so.5 libkoguiutils.so )
( cd usr/lib64 ; rm -rf libkplatoprivate.so )
( cd usr/lib64 ; ln -sf libkplatoprivate.so.5 libkplatoprivate.so )
( cd usr/lib64 ; rm -rf libkarbonui.so.5 )
( cd usr/lib64 ; ln -sf libkarbonui.so.5.0.0 libkarbonui.so.5 )
( cd usr/lib64 ; rm -rf libkritabasicdynamicshapeprogram.so.5 )
( cd usr/lib64 ; ln -sf libkritabasicdynamicshapeprogram.so.5.0.0 libkritabasicdynamicshapeprogram.so.5 )
( cd usr/lib64 ; rm -rf libkwordexportfilters.so )
( cd usr/lib64 ; ln -sf libkwordexportfilters.so.5 libkwordexportfilters.so )
( cd usr/lib64 ; rm -rf libkritagrayscale.so.5 )
( cd usr/lib64 ; ln -sf libkritagrayscale.so.5.0.0 libkritagrayscale.so.5 )
( cd usr/lib64 ; rm -rf libkritalibbrush.so )
( cd usr/lib64 ; ln -sf libkritalibbrush.so.5 libkritalibbrush.so )
( cd usr/lib64 ; rm -rf libchartshapelib.so.5 )
( cd usr/lib64 ; ln -sf libchartshapelib.so.5.0.0 libchartshapelib.so.5 )
( cd usr/lib64 ; rm -rf libkpresenterprivate.so )
( cd usr/lib64 ; ln -sf libkpresenterprivate.so.5 libkpresenterprivate.so )
( cd usr/lib64 ; rm -rf libkplatomodels.so )
( cd usr/lib64 ; ln -sf libkplatomodels.so.5 libkplatomodels.so )
( cd usr/lib64 ; rm -rf libkopageapp.so.5 )
( cd usr/lib64 ; ln -sf libkopageapp.so.5.0.0 libkopageapp.so.5 )
( cd usr/lib64 ; rm -rf libkplatoprivate.so.5 )
( cd usr/lib64 ; ln -sf libkplatoprivate.so.5.0.0 libkplatoprivate.so.5 )
( cd usr/lib64 ; rm -rf libkritalibpaintop.so )
( cd usr/lib64 ; ln -sf libkritalibpaintop.so.5 libkritalibpaintop.so )
( cd usr/lib64 ; rm -rf libkoffice_graya_u16.so )
( cd usr/lib64 ; ln -sf libkoffice_graya_u16.so.5 libkoffice_graya_u16.so )
( cd usr/lib64 ; rm -rf libkochart.so )
( cd usr/lib64 ; ln -sf libkochart.so.5 libkochart.so )
( cd usr/lib64 ; rm -rf libkowmf.so )
( cd usr/lib64 ; ln -sf libkowmf.so.5 libkowmf.so )
( cd usr/lib64 ; rm -rf libkarboncommon.so )
( cd usr/lib64 ; ln -sf libkarboncommon.so.5 libkarboncommon.so )
( cd usr/lib64 ; rm -rf libkritabasicdynamicshapeprogram.so )
( cd usr/lib64 ; ln -sf libkritabasicdynamicshapeprogram.so.5 libkritabasicdynamicshapeprogram.so )
( cd usr/lib64 ; rm -rf libpigmentcms.so )
( cd usr/lib64 ; ln -sf libpigmentcms.so.5 libpigmentcms.so )
( cd usr/lib64 ; rm -rf libkplatoui.so )
( cd usr/lib64 ; ln -sf libkplatoui.so.5 libkplatoui.so )
( cd usr/lib64 ; rm -rf libkofficegrayau8colorspace.so.5 )
( cd usr/lib64 ; ln -sf libkofficegrayau8colorspace.so.5.0.0 libkofficegrayau8colorspace.so.5 )
( cd usr/lib64 ; rm -rf libkoresources.so )
( cd usr/lib64 ; ln -sf libkoresources.so.5 libkoresources.so )
( cd usr/lib64 ; rm -rf libkowmf.so.5 )
( cd usr/lib64 ; ln -sf libkowmf.so.5.0.0 libkowmf.so.5 )
( cd usr/lib64 ; rm -rf libkotext.so.5 )
( cd usr/lib64 ; ln -sf libkotext.so.5.0.0 libkotext.so.5 )
( cd usr/lib64 ; rm -rf libchartshapelib.so )
( cd usr/lib64 ; ln -sf libchartshapelib.so.5 libchartshapelib.so )
( cd usr/lib64 ; rm -rf libkostore.so )
( cd usr/lib64 ; ln -sf libkostore.so.5 libkostore.so )
( cd usr/lib64 ; rm -rf libflake.so.5 )
( cd usr/lib64 ; ln -sf libflake.so.5.0.0 libflake.so.5 )
( cd usr/lib64 ; rm -rf libkrita_xyz_u16.so.5 )
( cd usr/lib64 ; ln -sf libkrita_xyz_u16.so.5.0.0 libkrita_xyz_u16.so.5 )
( cd usr/lib64 ; rm -rf libkritalibbrush.so.5 )
( cd usr/lib64 ; ln -sf libkritalibbrush.so.5.0.0 libkritalibbrush.so.5 )
( cd usr/lib64 ; rm -rf libkwordprivate.so )
( cd usr/lib64 ; ln -sf libkwordprivate.so.5 libkwordprivate.so )
( cd usr/lib64 ; rm -rf libkritaimage.so )
( cd usr/lib64 ; ln -sf libkritaimage.so.5 libkritaimage.so )
( cd usr/lib64 ; rm -rf libkplatokernel.so.5 )
( cd usr/lib64 ; ln -sf libkplatokernel.so.5.0.0 libkplatokernel.so.5 )
( cd usr/lib64 ; rm -rf libKritaRulerAssistantCommon.so )
( cd usr/lib64 ; ln -sf libKritaRulerAssistantCommon.so.5 libKritaRulerAssistantCommon.so )
( cd usr/lib64 ; rm -rf libkwmf.so.5 )
( cd usr/lib64 ; ln -sf libkwmf.so.5.0.0 libkwmf.so.5 )
( cd usr/lib64 ; rm -rf libkritabasicdynamiccoloringprogram.so.5 )
( cd usr/lib64 ; ln -sf libkritabasicdynamiccoloringprogram.so.5.0.0 libkritabasicdynamiccoloringprogram.so.5 )
( cd usr/lib64 ; rm -rf libkoguiutils.so.5 )
( cd usr/lib64 ; ln -sf libkoguiutils.so.5.0.0 libkoguiutils.so.5 )
( cd usr/lib64 ; rm -rf libkchartcommon.so )
( cd usr/lib64 ; ln -sf libkchartcommon.so.5 libkchartcommon.so )
( cd usr/lib64 ; rm -rf libkwordexportfilters.so.5 )
( cd usr/lib64 ; ln -sf libkwordexportfilters.so.5.0.0 libkwordexportfilters.so.5 )
( cd usr/lib64 ; rm -rf libkwordprivate.so.5 )
( cd usr/lib64 ; ln -sf libkwordprivate.so.5.0.0 libkwordprivate.so.5 )
( cd usr/lib64 ; rm -rf libkplatomodels.so.5 )
( cd usr/lib64 ; ln -sf libkplatomodels.so.5.0.0 libkplatomodels.so.5 )
( cd usr/lib64 ; rm -rf libkochart.so.5 )
( cd usr/lib64 ; ln -sf libkochart.so.5.0.0 libkochart.so.5 )
( cd usr/lib64 ; rm -rf libkokross.so )
( cd usr/lib64 ; ln -sf libkokross.so.5 libkokross.so )
( cd usr/lib64 ; rm -rf libkomain.so )
( cd usr/lib64 ; ln -sf libkomain.so.5 libkomain.so )
( cd usr/lib64 ; rm -rf libKritaRulerAssistantCommon.so.5 )
( cd usr/lib64 ; ln -sf libKritaRulerAssistantCommon.so.5.0.0 libKritaRulerAssistantCommon.so.5 )
( cd usr/lib64 ; rm -rf libkarboncommon.so.5 )
( cd usr/lib64 ; ln -sf libkarboncommon.so.5.0.0 libkarboncommon.so.5 )
( cd usr/lib64 ; rm -rf libkspreadcommon.so )
( cd usr/lib64 ; ln -sf libkspreadcommon.so.5 libkspreadcommon.so )
( cd usr/lib64 ; rm -rf libkwmf.so )
( cd usr/lib64 ; ln -sf libkwmf.so.5 libkwmf.so )
( cd usr/lib64 ; rm -rf libkritagrayscale.so )
( cd usr/lib64 ; ln -sf libkritagrayscale.so.5 libkritagrayscale.so )
( cd usr/lib64 ; rm -rf libkdchart.so.5 )
( cd usr/lib64 ; ln -sf libkdchart.so.5.0.0 libkdchart.so.5 )
( cd usr/lib64 ; rm -rf libkritadynamicbrush.so )
( cd usr/lib64 ; ln -sf libkritadynamicbrush.so.5 libkritadynamicbrush.so )
( cd usr/lib64 ; rm -rf libkopageapp.so )
( cd usr/lib64 ; ln -sf libkopageapp.so.5 libkopageapp.so )
( cd usr/lib64 ; rm -rf libkokross.so.5 )
( cd usr/lib64 ; ln -sf libkokross.so.5.0.0 libkokross.so.5 )
( cd usr/lib64 ; rm -rf libkoresources.so.5 )
( cd usr/lib64 ; ln -sf libkoresources.so.5.0.0 libkoresources.so.5 )
( cd usr/lib64 ; rm -rf libkomain.so.5 )
( cd usr/lib64 ; ln -sf libkomain.so.5.0.0 libkomain.so.5 )
( cd usr/lib64 ; rm -rf libkchartcommon.so.5 )
( cd usr/lib64 ; ln -sf libkchartcommon.so.5.0.0 libkchartcommon.so.5 )
( cd usr/lib64 ; rm -rf libkritalibpaintop.so.5 )
( cd usr/lib64 ; ln -sf libkritalibpaintop.so.5.0.0 libkritalibpaintop.so.5 )
( cd usr/lib64 ; rm -rf libflake.so )
( cd usr/lib64 ; ln -sf libflake.so.5 libflake.so )
( cd usr/lib64 ; rm -rf libkplatokernel.so )
( cd usr/lib64 ; ln -sf libkplatokernel.so.5 libkplatokernel.so )
( cd usr/lib64 ; rm -rf libpigmentcms.so.5 )
( cd usr/lib64 ; ln -sf libpigmentcms.so.5.0.0 libpigmentcms.so.5 )
( cd usr/lib64 ; rm -rf libkarbonui.so )
( cd usr/lib64 ; ln -sf libkarbonui.so.5 libkarbonui.so )
( cd usr/lib64 ; rm -rf libkdchart.so )
( cd usr/lib64 ; ln -sf libkdchart.so.5 libkdchart.so )
( cd usr/lib64 ; rm -rf libkostore.so.5 )
( cd usr/lib64 ; ln -sf libkostore.so.5.0.0 libkostore.so.5 )
( cd usr/lib64 ; rm -rf libkritaui.so )
( cd usr/lib64 ; ln -sf libkritaui.so.5 libkritaui.so )
( cd usr/lib64 ; rm -rf libkotext.so )
( cd usr/lib64 ; ln -sf libkotext.so.5 libkotext.so )
( cd usr/lib64 ; rm -rf libkritabasicdynamiccoloringprogram.so )
( cd usr/lib64 ; ln -sf libkritabasicdynamiccoloringprogram.so.5 libkritabasicdynamiccoloringprogram.so )
