]> git.pld-linux.org Git - packages/gnupg2.git/blob - gnupg-agent.sh
- updated pl.po-update patch
[packages/gnupg2.git] / gnupg-agent.sh
1 #!/bin/sh
2
3 if [ -r "${HOME}/.gnupg/gpg.conf" ]; then
4         CFG="${HOME}/.gnupg/gpg.conf"
5 else
6         CFG="${HOME}/.gnupg/options"
7 fi
8
9 if grep -q "^[[:blank:]]*use-agent" ${CFG} 2>/dev/null; then
10         /usr/bin/gpgconf --launch gpg-agent
11 fi
12
13 unset CFG
This page took 0.895118 seconds and 3 git commands to generate.