5 lines
162 B
Bash
5 lines
162 B
Bash
if [ ${EUID} -ne 0 ] ; then
|
|
if [ -f "${HOME}/.gnupg/gpg-agent.conf" ] ; then
|
|
export SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)"
|
|
fi
|
|
fi
|