Fixing typo, removing unused gpg-agent thing
This commit is contained in:
parent
af66337aab
commit
14719d067a
2 changed files with 1 additions and 21 deletions
|
|
@ -1,11 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
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
|
||||
Loading…
Add table
Add a link
Reference in a new issue