From 6fe43ce8d3cfedef18b80225b04e1533d937fe17 Mon Sep 17 00:00:00 2001 From: Tianon Gravi Date: Mon, 7 Jul 2014 10:35:38 -0600 Subject: [PATCH] From docker/docker - Standardize "curl" arguments across the repo to be or include "-sSL" - https://botbot.me/freenode/docker-dev/msg/17315692/ - https://botbot.me/freenode/docker-dev/msg/17315994/ Docker-DCO-1.1-Signed-off-by: Andrew Page (github: tianon) --- install.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/install.sh b/install.sh index 43248cf..641ec64 100755 --- a/install.sh +++ b/install.sh @@ -2,7 +2,7 @@ set -e # # This script is meant for quick & easy install via: -# 'curl -sL https://get.docker.io/ | sh' +# 'curl -sSL https://get.docker.io/ | sh' # or: # 'wget -qO- https://get.docker.io/ | sh' # @@ -54,7 +54,7 @@ fi curl='' if command_exists curl; then - curl='curl -sL' + curl='curl -sSL' elif command_exists wget; then curl='wget -qO-' elif command_exists busybox && busybox --list-modules | grep -q wget; then @@ -133,7 +133,7 @@ case "$lsb_dist" in if [ -z "$curl" ]; then apt_get_update ( set -x; $sh_c 'sleep 3; apt-get install -y -q curl' ) - curl='curl -sL' + curl='curl -sSL' fi ( set -x