blob: 7ee4bba1d548d56cf0a500cdc5f6e08946f80b8d (
plain)
1
2
3
4
5
6
7
|
#!/hint/sh
# 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
|