
# Update the desktop database:
/usr/bin/update-desktop-database ./usr/share/applications

# Update hicolor theme cache:
/usr/bin/gtk-update-icon-cache -f -t ./usr/share/icons/hicolor

# Update the mime database:
/usr/bin/update-mime-database -Vn usr/share/mime

( cd usr/lib64 ; rm -rf libKTTSD_Lib.so )
( cd usr/lib64 ; ln -sf libKTTSD_Lib.so.0.0.1 libKTTSD_Lib.so )
( cd usr/lib64 ; rm -rf libKTTSD_Lib.so.0 )
( cd usr/lib64 ; ln -sf libKTTSD_Lib.so.0.0.1 libKTTSD_Lib.so.0 )
( cd usr/lib64 ; rm -rf libkttsd.so )
( cd usr/lib64 ; ln -sf libkttsd.so.1.0.0 libkttsd.so )
( cd usr/lib64 ; rm -rf libkttsd.so.1 )
( cd usr/lib64 ; ln -sf libkttsd.so.1.0.0 libkttsd.so.1 )
( cd usr/share/doc/tde/HTML/en/kmag ; rm -rf common )
( cd usr/share/doc/tde/HTML/en/kmag ; ln -sf /usr/share/doc/tde/HTML/en/common common )
( cd usr/share/doc/tde/HTML/en/kmousetool ; rm -rf common )
( cd usr/share/doc/tde/HTML/en/kmousetool ; ln -sf /usr/share/doc/tde/HTML/en/common common )
( cd usr/share/doc/tde/HTML/en/kmouth ; rm -rf common )
( cd usr/share/doc/tde/HTML/en/kmouth ; ln -sf /usr/share/doc/tde/HTML/en/common common )
( cd usr/share/doc/tde/HTML/en/ksayit ; rm -rf common )
( cd usr/share/doc/tde/HTML/en/ksayit ; ln -sf /usr/share/doc/tde/HTML/en/common common )
( cd usr/share/doc/tde/HTML/en/kttsd ; rm -rf common )
( cd usr/share/doc/tde/HTML/en/kttsd ; ln -sf /usr/share/doc/tde/HTML/en/common common )
