[lxc-devel] [lxc/master] templates/lxc-download.in: use GPG option "--receive-keys"

johanneskastl on Github lxc-bot at linuxcontainers.org
Tue Jun 30 17:15:18 UTC 2020


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 544 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20200630/09c60050/attachment.bin>
-------------- next part --------------
From b9757e26c9286b63d27d3d8f9f441c24025853b3 Mon Sep 17 00:00:00 2001
From: Johannes Kastl <kastl at b1-systems.de>
Date: Tue, 30 Jun 2020 19:13:04 +0200
Subject: [PATCH] templates/lxc-download.in: use GPG option --receive-keys
 instead of --recv-keys

Signed-off-by: Johannes Kastl <kastl at b1-systems.de>
---
 templates/lxc-download.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/templates/lxc-download.in b/templates/lxc-download.in
index 58d063f4c2..60ad7dbc86 100644
--- a/templates/lxc-download.in
+++ b/templates/lxc-download.in
@@ -135,7 +135,7 @@ gpg_setup() {
   success=
   for _ in $(seq 3); do
     if $(gpg --keyserver "${DOWNLOAD_KEYSERVER}" ${DOWNLOAD_GPG_PROXY:-} \
-      --recv-keys "${DOWNLOAD_KEYID}" >/dev/null 2>&1); then
+      --receive-keys "${DOWNLOAD_KEYID}" >/dev/null 2>&1); then
       success=1
       break
     fi


More information about the lxc-devel mailing list