* usr/bin/byobu: LP: #1244981

- let's use our symlink for SSH_AUTH_SOCK, for consistency across
    sessions
This commit is contained in:
Dustin Kirkland 2013-11-01 15:34:50 -05:00
commit 3f2fa0225b
2 changed files with 4 additions and 1 deletions

4
debian/changelog vendored
View file

@ -1,6 +1,8 @@
byobu (5.63) unreleased; urgency=low
* UNRELEASED
* usr/bin/byobu: LP: #1244981
- let's use our symlink for SSH_AUTH_SOCK, for consistency across
sessions
-- Dustin Kirkland <kirkland@ubuntu.com> Fri, 01 Nov 2013 15:27:51 -0500

View file

@ -97,6 +97,7 @@ byobu-janitor --force
# Drop a symlink to the ssh socket in $HOME, since we can ensure that exists
if [ -S "$SSH_AUTH_SOCK" ] && [ ! -h "$SSH_AUTH_SOCK" ]; then
ln -sf "$SSH_AUTH_SOCK" "$BYOBU_CONFIG_DIR/.ssh-agent"
export SSH_AUTH_SOCK="$BYOBU_CONFIG_DIR/.ssh-agent"
fi
case $BYOBU_BACKEND in