Fumadocs: add git as dependency (#6459)

This commit is contained in:
CanbiZ
2025-08-01 21:06:36 +02:00
committed by GitHub
parent ca8cddb788
commit 3068ae1383
2 changed files with 5 additions and 1 deletions

View File

@@ -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"