]> git.pld-linux.org Git - packages/gnupg2.git/commitdiff
- in gpg-agent.conf leading spaces are allowed too. DEVEL auto/ac/gnupg-agent-1_9_10-3 auto/ac/gnupg-agent-1_9_14-1
authortwittner <twittner@pld-linux.org>
Sat, 4 Sep 2004 18:26:14 +0000 (18:26 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    gnupg-agent.sh -> 1.5

gnupg-agent.sh

index bfe7e40d2eab0127cbe0824d5a7a3eec15388340..1c290200b379a124e6f36b6532bc3c3157708bb1 100644 (file)
@@ -8,7 +8,7 @@ fi
 
 X11=no
 if [ -r "${HOME}/.gnupg/gpg-agent.conf" ]; then
-    grep -qE "^pinentry-program.*pinentry-(qt|gtk)" "${HOME}/.gnupg/gpg-agent.conf" && X11=yes
+    grep -qE "^[[:blank:]]*pinentry-program[[:blank:]]*.*pinentry-(qt|gtk)" "${HOME}/.gnupg/gpg-agent.conf" && X11=yes
 fi
 
 if grep -q "^[[:blank:]]*use-agent" ${CFG} 2>/dev/null; then
This page took 0.119503 seconds and 4 git commands to generate.