diff -uNr kdebase-3.5.8.orig/startkde kdebase-3.5.8/startkde --- kdebase-3.5.8.orig/startkde 2008-01-25 16:30:46 +0200 +++ kdebase-3.5.8/startkde 2008-01-25 16:36:50 +0200 @@ -387,6 +387,18 @@ KDE_SESSION_UID=$UID export KDE_SESSION_UID +host=$HOSTNAME +test -n "$XAUTHLOCALHOSTNAME" && host=$XAUTHLOCALHOSTNAME +ksycoca="$kdehome/cache-$host/ksycoca" + +if test -f "$ksycoca"; then + if test -f /var/lib/rpm/Packages; then + if test /var/lib/rpm/Packages -nt "$ksycoca"; then + rm -f "$ksycoca" + fi + fi +fi + # We set LD_BIND_NOW to increase the efficiency of kdeinit. # kdeinit unsets this variable before loading applications. LD_BIND_NOW=true start_kdeinit_wrapper --new-startup +kcminit_startup