diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2015-04-13 17:11:18 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2015-04-13 17:11:18 -0400 |
commit | 278000a3b8a64fd000ddd8198f76bd2bf78e4557 (patch) | |
tree | 678dd30356203871af1a3c62ef087de9a3981637 /.config/login.d/90_symlink_xdg_runtime_dir.sh | |
parent | 596fe4b1610df0a7f5a0ea174d136d179ee08440 (diff) | |
parent | 39db29c39dcca6d47fbc56dffd8c0c7bf63beb51 (diff) |
Merge branch 'master' into build64-par/master
Diffstat (limited to '.config/login.d/90_symlink_xdg_runtime_dir.sh')
-rw-r--r-- | .config/login.d/90_symlink_xdg_runtime_dir.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/.config/login.d/90_symlink_xdg_runtime_dir.sh b/.config/login.d/90_symlink_xdg_runtime_dir.sh new file mode 100644 index 0000000..bc6109d --- /dev/null +++ b/.config/login.d/90_symlink_xdg_runtime_dir.sh @@ -0,0 +1,6 @@ +# This is really only needed for ssh ControlPath; as I don't have a +# way to communicate XDG_RUNTIME_DIR +if [ -n "$XDG_RUNTIME_DIR" ]; then + mkdir -p -- "$XDG_CACHE_HOME/xdg-runtime-dir" + ln -sfT -- "$XDG_RUNTIME_DIR" "$XDG_CACHE_HOME/xdg-runtime-dir/$HOSTNAME" +fi |