From 4090196e8413fb16310f05fa93dc0ec337504ec4 Mon Sep 17 00:00:00 2001 From: coolaj86 Date: Thu, 2 Nov 2017 04:19:58 +0000 Subject: [PATCH] add -L to curl --- setup-min.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup-min.sh b/setup-min.sh index b4dd539..6c336ae 100644 --- a/setup-min.sh +++ b/setup-min.sh @@ -23,7 +23,7 @@ INSTALL_FILE="node.setup.bash" if [ ! -e "/tmp/${INSTALL_FILE}" ] then if [ -n "$(which curl)" ]; then - curl --silent "${BASE_URL}/${INSTALL_FILE_REMOTE}" \ + curl --silent -L "${BASE_URL}/${INSTALL_FILE_REMOTE}" \ -o "/tmp/${INSTALL_FILE}" || echo 'error setup script: '"${BASE_URL}/${INSTALL_FILE_REMOTE}" elif [ -n "$(which wget)" ]; then wget --quiet "${BASE_URL}/${INSTALL_FILE_REMOTE}" \