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