summaryrefslogtreecommitdiffstats
path: root/testing/source/vtown/kde/post-install/kservice/profile.d
diff options
context:
space:
mode:
Diffstat (limited to 'testing/source/vtown/kde/post-install/kservice/profile.d')
-rw-r--r--testing/source/vtown/kde/post-install/kservice/profile.d/kde.csh21
-rw-r--r--testing/source/vtown/kde/post-install/kservice/profile.d/kde.sh24
2 files changed, 24 insertions, 21 deletions
diff --git a/testing/source/vtown/kde/post-install/kservice/profile.d/kde.csh b/testing/source/vtown/kde/post-install/kservice/profile.d/kde.csh
index cce370cc9..b0ce563f7 100644
--- a/testing/source/vtown/kde/post-install/kservice/profile.d/kde.csh
+++ b/testing/source/vtown/kde/post-install/kservice/profile.d/kde.csh
@@ -11,13 +11,14 @@ else
setenv XDG_CONFIG_DIRS /etc/xdg:/etc/kde/xdg
endif
-if ( ! $?XDG_RUNTIME_DIR ) then
- # Using /run/user would be more in line with XDG specs, but in that case
- # we should mount /run as tmpfs and add this to the Slackware rc scripts:
- # mkdir /run/user ; chmod 1777 /run/user
- # setenv XDG_RUNTIME_DIR /run/user/$USER
- setenv XDG_RUNTIME_DIR /tmp/xdg-runtime-$USER
- mkdir -p $XDG_RUNTIME_DIR
- chown $USER $XDG_RUNTIME_DIR
- chmod 700 $XDG_RUNTIME_DIR
-endif
+# Commented out, since PAM should take care of this:
+#if ( ! $?XDG_RUNTIME_DIR ) then
+# # Using /run/user would be more in line with XDG specs, but in that case
+# # we should mount /run as tmpfs and add this to the Slackware rc scripts:
+# # mkdir /run/user ; chmod 1777 /run/user
+# # setenv XDG_RUNTIME_DIR /run/user/$USER
+# setenv XDG_RUNTIME_DIR /tmp/xdg-runtime-$USER
+# mkdir -p $XDG_RUNTIME_DIR
+# chown $USER $XDG_RUNTIME_DIR
+# chmod 700 $XDG_RUNTIME_DIR
+#endif
diff --git a/testing/source/vtown/kde/post-install/kservice/profile.d/kde.sh b/testing/source/vtown/kde/post-install/kservice/profile.d/kde.sh
index 9448c34ef..ec317ad1e 100644
--- a/testing/source/vtown/kde/post-install/kservice/profile.d/kde.sh
+++ b/testing/source/vtown/kde/post-install/kservice/profile.d/kde.sh
@@ -9,15 +9,17 @@ if [ ! "$XDG_CONFIG_DIRS" = "" ]; then
else
XDG_CONFIG_DIRS=/etc/xdg:/etc/kde/xdg
fi
-if [ "$XDG_RUNTIME_DIR" = "" ]; then
- # Using /run/user would be more in line with XDG specs, but in that case
- # we should mount /run as tmpfs and add this to the Slackware rc scripts:
- # mkdir /run/user ; chmod 1777 /run/user
- # XDG_RUNTIME_DIR=/run/user/$USER
- XDG_RUNTIME_DIR=/tmp/xdg-runtime-$USER
- mkdir -p $XDG_RUNTIME_DIR
- chown $USER $XDG_RUNTIME_DIR
- chmod 700 $XDG_RUNTIME_DIR
-fi
-export XDG_CONFIG_DIRS XDG_RUNTIME_DIR
+export XDG_CONFIG_DIRS
+# Commented out, since PAM should take care of this:
+#if [ "$XDG_RUNTIME_DIR" = "" ]; then
+# # Using /run/user would be more in line with XDG specs, but in that case
+# # we should mount /run as tmpfs and add this to the Slackware rc scripts:
+# # mkdir /run/user ; chmod 1777 /run/user
+# # XDG_RUNTIME_DIR=/run/user/$USER
+# XDG_RUNTIME_DIR=/tmp/xdg-runtime-$USER
+# mkdir -p $XDG_RUNTIME_DIR
+# chown $USER $XDG_RUNTIME_DIR
+# chmod 700 $XDG_RUNTIME_DIR
+#fi
+#export XDG_RUNTIME_DIR