* [gentoo-user] Starting up gpg-agent script
@ 2010-03-14 20:23 99% Mick
0 siblings, 0 replies; 1+ results
From: Mick @ 2010-03-14 20:23 UTC (permalink / raw
To: gentoo-user
Hi All,
I am trying this script in /etc/env.d/90gpg-agent:
================================
if test -f $HOME/.gpg-agent-info && kill -0 `cut -d: -f 2
$HOME/.gpg-agent-info` 2>/dev/null; then
GPG_AGENT_INFO=`cat $HOME/.gpg-agent-info`
export GPG_AGENT_INFO
else
eval `/usr/bin/gpg-agent --daemon`
echo $GPG_AGENT_INFO >$HOME/.gpg-agent-info
fi
================================
But when I emerged kgpg I got this error:
================================
!!! 'ParseError: Invalid token 'test' (not '='):
/etc/env.d/90gpg-agent: line 1 in /etc/env.d/90gpg-agent'
================================
Can you please help me correct the above script, I'm not sure
what's wrong with it.
--
Regards,
Mick
^ permalink raw reply [relevance 99%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2010-03-14 20:23 99% [gentoo-user] Starting up gpg-agent script Mick
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox