From 3068ae1383c6a646f6088e92d8a8d25db817588c Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Fri, 1 Aug 2025 21:06:36 +0200 Subject: [PATCH] Fumadocs: add git as dependency (#6459) --- ct/fumadocs.sh | 3 +++ install/fumadocs-install.sh | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ct/fumadocs.sh b/ct/fumadocs.sh index a4da269a8..fe5c57599 100644 --- a/ct/fumadocs.sh +++ b/ct/fumadocs.sh @@ -43,6 +43,9 @@ function update_script() { msg_error "Project directory does not exist: $PROJECT_DIR" exit 1 fi + if ! command -v git &>/dev/null; then + $STD apt-get install -y git + fi msg_info "Stopping service $SERVICE_NAME" systemctl stop "$SERVICE_NAME" diff --git a/install/fumadocs-install.sh b/install/fumadocs-install.sh index beef80e3e..c3bc2034a 100644 --- a/install/fumadocs-install.sh +++ b/install/fumadocs-install.sh @@ -14,7 +14,8 @@ update_os msg_info "Installing Dependencies" $STD apt-get install -y \ - ca-certificates + ca-certificates \ + git msg_ok "Installed Dependencies" NODE_VERSION="22" NODE_MODULE="pnpm@latest" setup_nodejs