Skip to content

fix(sprout): add curl -f -L flags and normalize indentation#7

Merged
taigrr merged 1 commit into
masterfrom
cd/sprout-curl-validation
Apr 15, 2026
Merged

fix(sprout): add curl -f -L flags and normalize indentation#7
taigrr merged 1 commit into
masterfrom
cd/sprout-curl-validation

Conversation

@taigrr
Copy link
Copy Markdown
Member

@taigrr taigrr commented Apr 7, 2026

Changes

  • Add -f (fail on HTTP errors) and -L (follow redirects) flags to the curl command when downloading the sprout binary, matching the farmer script's behavior
  • Without -f, a 404 or other HTTP error would silently write the error page content as the binary — leading to a broken install with no error message
  • Normalize indentation from spaces to tabs throughout the install section for consistency with the farmer script

Testing

  • shellcheck latest/farmer latest/sprout passes clean

- Add -f (fail on HTTP errors) and -L (follow redirects) to curl
  command when downloading the sprout binary, matching the farmer
  script behavior. Without -f, a 404 response would silently write
  an error page as the binary.
- Normalize indentation from spaces to tabs throughout the install
  section for consistency with the farmer script and the rest of the
  file.
@taigrr taigrr merged commit 3f4e280 into master Apr 15, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant