Blame SOURCES/kde-settings-19-23-bz#1404382.patch

8c7dae
diff --git a/etc/profile.d/kde.csh b/etc/profile.d/kde.csh
8c7dae
index f690ca9..7bf762f 100755
8c7dae
--- a/etc/profile.d/kde.csh
8c7dae
+++ b/etc/profile.d/kde.csh
8c7dae
@@ -21,4 +21,9 @@ endif
8c7dae
 #endif
8c7dae
 end
8c7dae
8c7dae
+# Fix the user-places.xbel error pop at first user login
8c7dae
+if ( ! -d "${HOME}/.local/share" && -w "${HOME}" ) then
8c7dae
+  mkdir -p "${HOME}/.local/share"
8c7dae
+endif
8c7dae
+
8c7dae
 unsetenv libdir
8c7dae
diff --git a/etc/profile.d/kde.sh b/etc/profile.d/kde.sh
8c7dae
index 679410f..df16705 100755
8c7dae
--- a/etc/profile.d/kde.sh
8c7dae
+++ b/etc/profile.d/kde.sh
8c7dae
@@ -21,4 +21,9 @@ fi
8c7dae
 #fi
8c7dae
 done
8c7dae
8c7dae
+# Fix the user-places.xbel error pop at first user login
8c7dae
+if [ ! -d $HOME/.local/share -a -w ${HOME} ]; then
8c7dae
+    mkdir -p $HOME/.local/share
8c7dae
+fi
8c7dae
+
8c7dae
 unset libdir