mirror of
https://github.com/oven-sh/bun
synced 2026-02-02 15:08:46 +00:00
ci: bootstrap.sh: musl download of bun no longer has to be special-cased (#15265)
This commit is contained in:
@@ -589,25 +589,6 @@ install_nodejs_headers() {
|
||||
}
|
||||
|
||||
install_bun() {
|
||||
case "$os-$abi" in
|
||||
linux-musl)
|
||||
case "$arch" in
|
||||
x64)
|
||||
exe="$(download_file https://pub-61e0d0e2da4146a099e4545a59a9f0f7.r2.dev/bun-musl-x64)"
|
||||
;;
|
||||
aarch64)
|
||||
exe="$(download_file https://pub-61e0d0e2da4146a099e4545a59a9f0f7.r2.dev/bun-musl-arm64)"
|
||||
;;
|
||||
esac
|
||||
execute chmod +x "$exe"
|
||||
execute mkdir -p "$home/.bun/bin"
|
||||
execute mv "$exe" "$home/.bun/bin/bun"
|
||||
execute ln -fs "$home/.bun/bin/bun" "$home/.bun/bin/bunx"
|
||||
link_to_bin "$home/.bun/bin"
|
||||
return
|
||||
;;
|
||||
esac
|
||||
|
||||
bash="$(require bash)"
|
||||
script=$(download_file "https://bun.sh/install")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user