diff --git a/scripts/install.sh b/scripts/install.sh index c35a2c85..47e4f5d3 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -150,6 +150,8 @@ curl_download() { exit_code=$? set -e + echo "$headers" + status_code="$(echo "$headers" | tail -1)" if [ "$status_code" -ne 200 ]; then @@ -212,6 +214,7 @@ wget_download() { if expr "$status_code" : '[0-9][0-9][0-9]$'>/dev/null; then valid_status_code=1 fi + echo "$headers" if [ "$exit_code" -ne 0 ]; then if [ "$valid_status_code" -eq 1 ]; then