From 8de0ced471abf83d5c3b7257d65b9e0818dead8a Mon Sep 17 00:00:00 2001 From: Vincent Demeester Date: Fri, 7 Apr 2017 10:08:28 +0200 Subject: [PATCH] Merge pull request #32425 from tabakhase/patch-1 Fix install.sh of get.docker.com for debian-sudo (cherry picked from commit daaf9ddfa9a53fb82511accb8ad0fed381670a54) Signed-off-by: Sebastiaan van Stijn --- hack/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hack/install.sh b/hack/install.sh index b4bc3bc340..1aefc63bc0 100644 --- a/hack/install.sh +++ b/hack/install.sh @@ -474,7 +474,7 @@ do_install() { ( set -x - echo "$docker_key" | apt-key add - + echo "$docker_key" | $sh_c 'apt-key add -' $sh_c "mkdir -p /etc/apt/sources.list.d" $sh_c "echo deb \[arch=$(dpkg --print-architecture)\] ${apt_url}/repo ${lsb_dist}-${dist_version} ${repo} > /etc/apt/sources.list.d/docker.list" $sh_c 'sleep 3; apt-get update; apt-get install -y -q docker-engine'