Skip to content

Make install script compatible with sh, sha256sum, and sha1sum#44

Closed
Watrdguy wants to merge 1 commit into
carvel-dev:mainfrom
Watrdguy:improve-install-script
Closed

Make install script compatible with sh, sha256sum, and sha1sum#44
Watrdguy wants to merge 1 commit into
carvel-dev:mainfrom
Watrdguy:improve-install-script

Conversation

@Watrdguy

Copy link
Copy Markdown

This PR updates the install script template (install.sh.txt) to enhance compatibility across environments:

1.) Replaces hard dependency on bash with sh for broader POSIX compliance.

2.) Adds support for sha256sum and sha1sum alongside shasum, increasing compatibility with minimal environments.(e.g., Alpine Linux)

3.) Preserves behavior for existing supported systems.

4.) Regenerates install.sh using ytt; tested locally on Linux Mint.

Signed-off-by: Ananay <ananaysharma299@email.com>
@Watrdguy

Copy link
Copy Markdown
Author

Hi! First-time contributor here. If I have done something wrong, please tell me so I can improve since I just wanna learn. Thank you.

@Watrdguy Watrdguy closed this by deleting the head repository Oct 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants