Skip to content

Commit 2fd674a

Browse files
authored
Merge pull request moby#27184 from tiborvass/gnupg-debian-stretch
install: fix debian stretch
2 parents 5ee2c2a + 0472647 commit 2fd674a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

hack/install.sh

+5
Original file line numberDiff line numberDiff line change
@@ -440,6 +440,11 @@ do_install() {
440440
( set -x; $sh_c 'sleep 3; apt-get install -y -q curl ca-certificates' )
441441
curl='curl -sSL'
442442
fi
443+
if [ ! -e /usr/bin/gpg ]; then
444+
apt_get_update
445+
( set -x; $sh_c 'sleep 3; apt-get install -y -q gnupg2 || apt-get install -y -q gnupg' )
446+
fi
447+
443448
(
444449
set -x
445450
for key_server in $key_servers ; do

0 commit comments

Comments
 (0)