mirror of
https://github.com/Matir/skel.git
synced 2026-05-25 21:19:09 -07:00
Support disabling gpg-agent.
This commit is contained in:
@@ -2,6 +2,10 @@ if ! which gpg-agent >/dev/null 2>&1 ; then
|
||||
return 1
|
||||
fi
|
||||
|
||||
if test -f ${HOME}/.no-gpg-agent ; then
|
||||
return 0
|
||||
fi
|
||||
|
||||
# Set the default paths to gpg-agent files.
|
||||
_gpg_agent_conf="${GNUPGHOME:-$HOME/.gnupg}/gpg-agent.conf"
|
||||
_gpg_agent_env="${TMPDIR:-/tmp}/gpg-agent.env.$UID"
|
||||
|
||||
Reference in New Issue
Block a user