diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2015-04-13 17:10:00 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2015-04-13 17:10:00 -0400 |
commit | 39db29c39dcca6d47fbc56dffd8c0c7bf63beb51 (patch) | |
tree | c769eba9bb2da4cf6eca0421992736841bf8f8d6 /.config/login.d/90_symlink_xdg_runtime_dir.sh | |
parent | f181c08119e7bf00ce6520331afb737321f350ad (diff) | |
parent | 39c0d7a5c7538350e96fc135147f56cdb7d45093 (diff) |
Merge remote-tracking branch 'origin/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 |