1 |
Hi All, |
2 |
|
3 |
I am trying this script in /etc/env.d/90gpg-agent: |
4 |
================================ |
5 |
if test -f $HOME/.gpg-agent-info && kill -0 `cut -d: -f 2 |
6 |
$HOME/.gpg-agent-info` 2>/dev/null; then |
7 |
GPG_AGENT_INFO=`cat $HOME/.gpg-agent-info` |
8 |
export GPG_AGENT_INFO |
9 |
else |
10 |
eval `/usr/bin/gpg-agent --daemon` |
11 |
echo $GPG_AGENT_INFO >$HOME/.gpg-agent-info |
12 |
fi |
13 |
================================ |
14 |
|
15 |
But when I emerged kgpg I got this error: |
16 |
================================ |
17 |
!!! 'ParseError: Invalid token 'test' (not '='): |
18 |
/etc/env.d/90gpg-agent: line 1 in /etc/env.d/90gpg-agent' |
19 |
================================ |
20 |
|
21 |
Can you please help me correct the above script, I'm not sure |
22 |
what's wrong with it. |
23 |
-- |
24 |
Regards, |
25 |
Mick |