From 047264763adb3f61b1470b97e9fa20a4f1ddc83d Mon Sep 17 00:00:00 2001 From: Tibor Vass Date: Thu, 6 Oct 2016 10:45:43 +0200 Subject: [PATCH] install: fix debian stretch Apparently, Debian stretch does not come with gpg installed by default. This patch ensures that gpg is installed. Signed-off-by: Tibor Vass --- hack/install.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/hack/install.sh b/hack/install.sh index b054869a70..f217403b7f 100644 --- a/hack/install.sh +++ b/hack/install.sh @@ -440,6 +440,11 @@ do_install() { ( set -x; $sh_c 'sleep 3; apt-get install -y -q curl ca-certificates' ) curl='curl -sSL' fi + if [ ! -e /usr/bin/gpg ]; then + apt_get_update + ( set -x; $sh_c 'sleep 3; apt-get install -y -q gnupg2 || apt-get install -y -q gnupg' ) + fi + ( set -x for key_server in $key_servers ; do