Support sh fallback for install script on Alpine
@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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from voidzero-dev/setup-vp
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
voidzero-dev/setup-vp#164 · 1 comment ·
-
voidzero-dev/setup-vp#161 · 1 assignee ·
-
enhancement
voidzero-dev/setup-vp#155 · 5 comments · 1 assignee ·
-
voidzero-dev/setup-vp#81 · 5 comments · 3 reactions · 1 assignee ·
-
enhancement
voidzero-dev/setup-vp#73 · 1 reaction · 1 assignee ·
All issues in voidzero-dev/setup-vp
Similar issues
-
clawsweeper:linked-pr-open clawsweeper:no-new-fix-pr clawsweeper:source-repro impact:message-loss issue-rating: 🦞 diamond lobster maturity:stable P2
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Eynzof/Hermes-CN-Desktop#616 ·
-
ZCode 3.14.3 に対応する Open
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
supermomonga/zcode-acp#24 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
growthbook/growthbook#7100 ·
-
triage
Difficulty 1/5 1-3 hours Newbie friendliness 88/100