Skip to content

Commit

Permalink
WIP: Add CI debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
nmanoogian committed Jun 7, 2024
1 parent 9470fb8 commit 60e6c1a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,8 @@ curl_download() {
exit_code=$?
set -e

echo "$headers"

status_code="$(echo "$headers" | tail -1)"

if [ "$status_code" -ne 200 ]; then
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 60e6c1a

Please sign in to comment.