Fix gpg-agent
This commit is contained in:
parent
6d6ffef7cf
commit
edda8b9440
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ export AUR_PAGER=$PAGER
|
|||
export GPG_TTY="$(tty)"
|
||||
|
||||
# set SSH_AUTH_SOCK if not logging in over SSH
|
||||
if [ "$SSH_CONNECTION" != "" ]; then
|
||||
if [ "$SSH_CONNECTION" -eq "" ]; then
|
||||
export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
|
||||
gpgconf --launch gpg-agent
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue