fix: separate Bun installation command for better error handling

This commit is contained in:
John Doe
2026-03-04 21:41:15 -05:00
parent 2352877bae
commit 21f82e39bb

View File

@@ -22,7 +22,8 @@ NODE_VERSION="24" setup_nodejs
setup_go setup_go
msg_info "Installing Bun" msg_info "Installing Bun"
curl -fsSL -o /tmp/bun-install.sh https://bun.sh/install && bash /tmp/bun-install.sh --no-chmod >/dev/null 2>&1 curl -fsSL -o /tmp/bun-install.sh https://bun.sh/install
bash /tmp/bun-install.sh --no-chmod
rm -f /tmp/bun-install.sh rm -f /tmp/bun-install.sh
msg_ok "Installed Bun (official installer)" msg_ok "Installed Bun (official installer)"
if [[ -x /root/.bun/bin/bun ]]; then if [[ -x /root/.bun/bin/bun ]]; then