blob: 9536fb4f3ce569440720a63bef27fa2b1b390898 (
plain)
1
2
3
4
5
6
7
8
9
|
#!/hint/sh
# This is really only needed for ssh ControlPath; as I don't have a
# way to communicate XDG_RUNTIME_DIR to it otherwise.
mkdir -p -- ~/.r
if [ -n "$XDG_RUNTIME_DIR" ]; then
ln -sfT -- "$XDG_RUNTIME_DIR" ~/.r/"$HOSTNAME"
else
ln -sfT -- /tmp ~/.r/"$HOSTNAME"
fi
|