Support sh fallback for install script on Alpine
@fengmk2 已经在做这个了。
开始于 2026年3月24日。
评估
这个 Issue 还没有评估数据。
描述
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.
- 主要语言
- TypeScript
- 星标
- 110
- 派生
- 22
- 平均合并
- 1 天 5 小时
- 30 天内合并 PR
- 31
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
voidzero-dev/setup-vp 的其他 Issue
-
难度 4/5 3-5 天 新手友好度 48/100
voidzero-dev/setup-vp#164 · 1 条评论 ·
-
voidzero-dev/setup-vp#161 · 已指派 1 人 ·
-
enhancement
voidzero-dev/setup-vp#155 · 5 条评论 · 已指派 1 人 ·
-
voidzero-dev/setup-vp#81 · 5 条评论 · 3 个 reaction · 已指派 1 人 ·
-
enhancement
voidzero-dev/setup-vp#73 · 1 个 reaction · 已指派 1 人 ·
查看 voidzero-dev/setup-vp 的全部 Issue
相似的 Issue
-
VerificationGate: ATTRIBUTION quote guard never matches a normal quotation (\b around the quote) 未关闭
难度 2/5 1-3 小时 新手友好度 75/100
danielmiessler/LifeOS#2234 ·
-
T: Bug
难度 2/5 1-3 小时 新手友好度 75/100
-
难度 2/5 1-3 小时 新手友好度 65/100
-
难度 1/5 1 小时以内 新手友好度 85/100
-
Mend: dependency security vulnerability untriaged
难度 2/5 1-3 小时 新手友好度 70/100