Unverified Commit 5f6b921c by Stéphane Graber Committed by Christian Brauner

Revert "templates/lxc-download.in: use GPG option --receive-keys instead of --recv-keys"

This reverts commit 409040e7. Testing of both options show identical behavior but receive-keys does not exist on older releases, so let's revert this. Closes #3510 Signed-off-by: 's avatarStéphane Graber <stgraber@ubuntu.com>
parent f61193f8
...@@ -135,7 +135,7 @@ gpg_setup() { ...@@ -135,7 +135,7 @@ gpg_setup() {
success= success=
for _ in $(seq 3); do for _ in $(seq 3); do
if gpg --keyserver "${DOWNLOAD_KEYSERVER}" ${DOWNLOAD_GPG_PROXY:-} \ if gpg --keyserver "${DOWNLOAD_KEYSERVER}" ${DOWNLOAD_GPG_PROXY:-} \
--receive-keys "${DOWNLOAD_KEYID}" >/dev/null 2>&1; then --recv-keys "${DOWNLOAD_KEYID}" >/dev/null 2>&1; then
success=1 success=1
break break
fi fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment