Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Support sh fallback for install script on Alpine

Đang mở
#32 0 bình luận 0 reaction 1 người được giao Xem trên GitHub

@fengmk2 đang làm issue này rồi.

Từ ngày 24/3/2026.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

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.

Ngôn ngữ chính
TypeScript
Star
110
Fork
22
Merge trung bình
1 ngày 5 giờ
Pull request đã merge (30 ngày)
31

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của voidzero-dev/setup-vp

Tất cả issue của voidzero-dev/setup-vp

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.