mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 10:35:17 +03:00
13 lines
187 B
Plaintext
13 lines
187 B
Plaintext
|
#!/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 "$@"
|