Skip to content

Commit

Permalink
install: fix debian stretch
Browse files Browse the repository at this point in the history
Apparently, Debian stretch does not come with gpg installed by
default. This patch ensures that gpg is installed.

Signed-off-by: Tibor Vass <[email protected]>
  • Loading branch information
Tibor Vass committed Oct 6, 2016
1 parent 306912e commit 0472647
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions hack/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0472647

Please sign in to comment.