From 450f9f19b29d0a47d1c8b140d14f52a613f4b0f0 Mon Sep 17 00:00:00 2001 From: 3onyc <3onyc@x3tech.com> Date: Fri, 22 May 2015 08:49:09 +0200 Subject: [PATCH] Make curl follow redirects, and don't suppress its output in bootstrap.sh --- bootstrap.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bootstrap.sh b/bootstrap.sh index 8425170ad..66e3a7d2b 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -32,8 +32,8 @@ dokku_install_source() { } dokku_install_package() { - curl --silent https://get.docker.io/gpg 2> /dev/null | apt-key add - > /dev/null 2>&1 - curl --silent https://packagecloud.io/gpg.key 2> /dev/null | apt-key add - > /dev/null 2>&1 + curl -sSL https://get.docker.io/gpg | apt-key add - + curl -sSL https://packagecloud.io/gpg.key | apt-key add - echo "deb http://get.docker.io/ubuntu docker main" > /etc/apt/sources.list.d/docker.list echo "deb https://packagecloud.io/dokku/dokku/ubuntu/ trusty main" > /etc/apt/sources.list.d/dokku.list