if grep -q "^[[:blank:]]*use-agent" ${CFG} 2>/dev/null; then
if [ -f "${HOME}/.gnupg/GPG_AGENT_INFO" ] && \
pid="$(cut -d: -f2 $HOME/.gnupg/GPG_AGENT_INFO)" && \
- [ "$(resolvesymlink "/proc/$pid/exe")" = "/usr/bin/gpg-agent" ]; then
+ agent="$(resolvesymlink "/proc/$pid/exe")" && \
+ [ "$agent" = "/usr/bin/gpg-agent" -o "$agent" = "/usr/bin/seahorse-agent" ]; then
export GPG_AGENT_INFO="$(cat ${HOME}/.gnupg/GPG_AGENT_INFO)"
else
if [ "$seahorse" = "no" ]; then
export GPG_AGENT_INFO
fi
fi
+unset agent
+unset seahorse
unset CFG
unset pid
Summary(pl.UTF-8): GnuPG - narzędzie do bezpiecznej komunikacji i bezpiecznego przechowywania danych - wersja rozszerzona
Name: gnupg2
Version: 2.0.30
-Release: 1
+Release: 2
License: GPL v3+
Group: Applications/File
Source0: ftp://ftp.gnupg.org/gcrypt/gnupg/gnupg-%{version}.tar.bz2