LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File kde4-migrate.diff of Package kdebase4-workspace (Project openSUSE:11.4)

Index: startkde.cmake
===================================================================
--- startkde.cmake.orig	2010-11-21 20:47:03.402842733 +0100
+++ startkde.cmake	2010-11-21 20:47:03.667718141 +0100
@@ -84,6 +84,11 @@ fi
 kdehome=$HOME/@KDE_DEFAULT_HOME@
 test -n "$KDEHOME" && kdehome=`echo "$KDEHOME"|sed "s,^~/,$HOME/,"`
 
+# first, migrate settings from kde3, if available
+if test -x /usr/bin/kde4-migrate; then
+    /usr/bin/kde4-migrate || true
+fi
+
 # see kstartupconfig source for usage
 mkdir -m 700 -p $kdehome
 mkdir -m 700 -p $kdehome/share