From bff7933b103795a340b72f1105dbbd6ef3161e66 Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Tue, 24 Jun 2025 16:16:11 +0200 Subject: [PATCH] git --- ct/gomft.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ct/gomft.sh b/ct/gomft.sh index f1788cc0b..365dbf7d3 100644 --- a/ct/gomft.sh +++ b/ct/gomft.sh @@ -45,6 +45,9 @@ function update_script() { msg_ok "Stopped $APP" msg_info "Updating $APP to ${RELEASE}" + if ! command -v git >/dev/null 2>&1; then + $STD apt-get install -y git + fi rm -f /opt/gomft/gomft temp_file=$(mktemp) curl -fsSL "https://github.com/StarFleetCPTN/GoMFT/archive/refs/tags/v${RELEASE}.tar.gz" -o "$temp_file"