From 4c4943dc19fac25eae3f26db53ca258839f79830 Mon Sep 17 00:00:00 2001 From: Tobias <96661824+CrazyWolf13@users.noreply.github.com> Date: Wed, 12 Nov 2025 11:44:00 +0100 Subject: [PATCH] Refactor gitea-mirror.sh to use Node.js setup Removed Bun installation steps and set up Node.js with Bun. --- ct/gitea-mirror.sh | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/ct/gitea-mirror.sh b/ct/gitea-mirror.sh index 1c30f38ed..ac227bcca 100644 --- a/ct/gitea-mirror.sh +++ b/ct/gitea-mirror.sh @@ -89,12 +89,7 @@ EOF cp /opt/gitea-mirror/data/* /opt/gitea-mirror-backup/data/ msg_ok "Backup Data" - msg_info "Installing Bun" - export BUN_INSTALL=/opt/bun - curl -fsSL https://bun.sh/install | $STD bash - ln -sf /opt/bun/bin/bun /usr/local/bin/bun - ln -sf /opt/bun/bin/bun /usr/local/bin/bunx - msg_ok "Installed Bun" + NODE_VERSION="22" NODE_MODULES="bun" setup_nodejs rm -rf /opt/gitea-mirror fetch_and_deploy_gh_release "gitea-mirror" "RayLabsHQ/gitea-mirror"