diff --git a/ct/fumadocs.sh b/ct/fumadocs.sh index a4da269a81..fe5c575993 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 beef80e3e5..c3bc2034a3 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