Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Support sh fallback for install script on Alpine

Open
#32 0 comments 0 reactions 1 assignee View on GitHub

@fengmk2 is already working on this.

Since Mar 24, 2026.

Assessment

This issue has not been assessed yet.

Description

Context

The install script at https://viteplus.dev/install.sh uses bash-specific syntax (e.g., parentheses in expressions) that is incompatible with POSIX sh (Alpine's default shell).

When attempting to fall back from bash to sh in Alpine containers, the install fails with:

sh: syntax error: unexpected "(" (expecting "}")

See CI failure: https://github.com/voidzero-dev/setup-vp/actions/runs/23498007873/job/68384609190?pr=22

Current workaround

Alpine users must install bash as a prerequisite:

- run: apk add --no-cache bash curl gcompat libstdc++

Desired behavior

The install script should be POSIX-compatible so it can run with sh, removing the need to install bash in Alpine containers.

Dominant language
TypeScript
Stars
110
Forks
22
Avg merge
1d 5h
Merged PRs (30d)
31

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from voidzero-dev/setup-vp

All issues in voidzero-dev/setup-vp

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.