From: Baris Metin Date: Mon, 2 May 2011 21:54:15 +0000 (-0400) Subject: fix gpg update. X-Git-Url: http://git.onelab.eu/?p=myplc.git;a=commitdiff_plain;h=eaf3b55b68944f0a495c560ebf39f7762142c5e6 fix gpg update. this issue raises in gpg2 (hangs in SL6), but it's considered as a bug in gpg1 https://bugs.g10code.com/gnupg/issue1122 --- diff --git a/plc.d/gpg b/plc.d/gpg index 304b1ea..3993f42 100755 --- a/plc.d/gpg +++ b/plc.d/gpg @@ -86,12 +86,25 @@ EOF ) IFS=$OLDIFS - # Add a new UID if appropriate. GPG will detect and merge duplicates. - gpg --homedir=$homedir --no-permission-warning --batch --no-tty --yes \ - --no-default-keyring \ - --secret-keyring=$PLC_ROOT_GPG_KEY \ - --keyring=$PLC_ROOT_GPG_KEY_PUB \ - --command-fd 0 --status-fd 1 --edit-key $fingerprint <