From 9941a27777d60b4a3411f5c4f49c9434ca3e9e09 Mon Sep 17 00:00:00 2001 From: Tobias <96661824+CrazyWolf13@users.noreply.github.com> Date: Wed, 12 Nov 2025 11:41:22 +0100 Subject: [PATCH] Refactor gitea-mirror-install.sh to streamline setup Removed Bun installation steps and added cleanup_lxc function. --- install/gitea-mirror-install.sh | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/install/gitea-mirror-install.sh b/install/gitea-mirror-install.sh index 7f15bd7af..d8f42ce90 100644 --- a/install/gitea-mirror-install.sh +++ b/install/gitea-mirror-install.sh @@ -21,13 +21,7 @@ $STD apt-get install -y \ unzip msg_ok "Installed Dependencies" -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 fetch_and_deploy_gh_release "gitea-mirror" "RayLabsHQ/gitea-mirror" msg_info "Installing gitea-mirror" @@ -70,8 +64,4 @@ msg_ok "Created Service" motd_ssh customize - -msg_info "Cleaning up" -$STD apt-get -y autoremove -$STD apt-get -y autoclean -msg_ok "Cleaned" +cleanup_lxc