ci: bootstrap.sh: musl download of bun no longer has to be special-cased (#15265)

This commit is contained in:
Meghan Denny
2024-11-20 13:31:06 -08:00
committed by GitHub
parent 1efab7f42d
commit 4fe8b71437

View File

@@ -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")