aboutsummaryrefslogtreecommitdiffstats
path: root/unix/gpg-agent.sh
diff options
context:
space:
mode:
authorAaron LI <aly@aaronly.me>2017-11-03 18:28:00 +0800
committerAaron LI <aly@aaronly.me>2017-11-03 18:28:00 +0800
commitdc3ab5291974191eda7f913a14422c4dd14dc422 (patch)
tree49050abe3d0ebd50a2eee49ee8133b9ddee64ecf /unix/gpg-agent.sh
parentf8e5d4a77a6ca90541c23a54bef39f77f3fef84b (diff)
downloadatoolbox-dc3ab5291974191eda7f913a14422c4dd14dc422.tar.bz2
Delete gpg-agent.sh and id3tag.sh
Diffstat (limited to 'unix/gpg-agent.sh')
-rwxr-xr-xunix/gpg-agent.sh13
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
-