diff options
Diffstat (limited to 'unix/gpg-agent.sh')
-rwxr-xr-x | unix/gpg-agent.sh | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/unix/gpg-agent.sh b/unix/gpg-agent.sh deleted file mode 100755 index 751c2ac..0000000 --- a/unix/gpg-agent.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/sh - -# gpg-agent.sh -# autorun the gpg-agent - -envfile="${HOME}/.gnupg/gpg-agent.env" -if test -f "$envfile" && kill -0 $(grep GPG_AGENT_INFO "$envfile" | cut -d: -f 2) 2>/dev/null; then - eval "$(cat "$envfile")" -else - eval "$(gpg-agent --daemon --write-env-file "$envfile")" -fi -export GPG_AGENT_INFO # the env file does not contain the export statement - |