fix: separate Bun installation command for better error handling
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user