pantry/projects/gnupg.org/gpg
2023-11-11 19:00:01 -05:00

13 lines
No EOL
187 B
Bash
Executable file

#!/bin/sh
d=$(dirname "$0")
if [ ! -f "$GNUPGHOME/gpg.conf" ]; then
cat << EOF > $GNUPGHOME/gpg.conf
use-agent
pinentry-mode loopback
agent-program $d/gpg-agent
EOF
fi
$d/gpg-exec "$@"