if [ -x usr/bin/update-desktop-database ]; then
  usr/bin/update-desktop-database -q usr/share/applications/kde
fi

if [ -r usr/share/icons/hicolor/icon-theme.cache ]; then
  usr/bin/gtk-update-icon-cache -t -f -q usr/share/icons/hicolor
fi

if [ -x /usr/bin/update-mime-database ]; then
  /usr/bin/update-mime-database /usr/share/mime &> /dev/null
fi


( cd usr/lib64 ; rm -rf libmediawiki.so.1 )
( cd usr/lib64 ; ln -sf libmediawiki.so.1.0.0 libmediawiki.so.1 )
( cd usr/lib64 ; rm -rf libdigikamdatabase.so.3 )
( cd usr/lib64 ; ln -sf libdigikamdatabase.so.3.0.0 libdigikamdatabase.so.3 )
( cd usr/lib64 ; rm -rf libkgeomap.so.1 )
( cd usr/lib64 ; ln -sf libkgeomap.so.1.0.0 libkgeomap.so.1 )
( cd usr/lib64 ; rm -rf libmediawiki.so )
( cd usr/lib64 ; ln -sf libmediawiki.so.1 libmediawiki.so )
( cd usr/lib64 ; rm -rf libkgeomap.so )
( cd usr/lib64 ; ln -sf libkgeomap.so.1 libkgeomap.so )
( cd usr/lib64 ; rm -rf libdigikamcore.so.3 )
( cd usr/lib64 ; ln -sf libdigikamcore.so.3.0.0 libdigikamcore.so.3 )
( cd usr/lib64 ; rm -rf libkvkontakte.so )
( cd usr/lib64 ; ln -sf libkvkontakte.so.1 libkvkontakte.so )
( cd usr/lib64 ; rm -rf libkipiplugins.so.3 )
( cd usr/lib64 ; ln -sf libkipiplugins.so.3.0.0 libkipiplugins.so.3 )
( cd usr/lib64 ; rm -rf libkipiplugins.so )
( cd usr/lib64 ; ln -sf libkipiplugins.so.3 libkipiplugins.so )
( cd usr/lib64 ; rm -rf libdigikamcore.so )
( cd usr/lib64 ; ln -sf libdigikamcore.so.3 libdigikamcore.so )
( cd usr/lib64 ; rm -rf libdigikamdatabase.so )
( cd usr/lib64 ; ln -sf libdigikamdatabase.so.3 libdigikamdatabase.so )
( cd usr/lib64 ; rm -rf libkface.so )
( cd usr/lib64 ; ln -sf libkface.so.2 libkface.so )
( cd usr/lib64 ; rm -rf libkvkontakte.so.1 )
( cd usr/lib64 ; ln -sf libkvkontakte.so.1.0.0 libkvkontakte.so.1 )
( cd usr/lib64 ; rm -rf libkface.so.2 )
( cd usr/lib64 ; ln -sf libkface.so.2.0.0 libkface.so.2 )
( cd usr/share/doc/HTML/en/kipi-plugins ; rm -rf common )
( cd usr/share/doc/HTML/en/kipi-plugins ; ln -sf /usr/share/doc/HTML/en/common common )
( cd usr/share/doc/HTML/en/digikam ; rm -rf common )
( cd usr/share/doc/HTML/en/digikam ; ln -sf /usr/share/doc/HTML/en/common common )
( cd usr/share/doc/HTML/en/showfoto ; rm -rf common )
( cd usr/share/doc/HTML/en/showfoto ; ln -sf /usr/share/doc/HTML/en/common common )
