Blob Blame History Raw
diff --git a/etc/profile.d/kde.csh b/etc/profile.d/kde.csh
index f690ca9..7bf762f 100755
--- a/etc/profile.d/kde.csh
+++ b/etc/profile.d/kde.csh
@@ -21,4 +21,9 @@ endif
 #endif
 end

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

+# Fix the user-places.xbel error pop at first user login
+if [ ! -d $HOME/.local/share -a -w ${HOME} ]; then
+    mkdir -p $HOME/.local/share
+fi
+
 unset libdir