From 15f3fb6aad2da219ac70c9aa1b8269b7d8db6c3c Mon Sep 17 00:00:00 2001 From: noccu <37862870+noccu@users.noreply.github.com> Date: Wed, 10 Jul 2024 11:36:36 +0200 Subject: [PATCH] Use previous temp mingit if existing --- src/scripts/install-umatl.bat | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/scripts/install-umatl.bat b/src/scripts/install-umatl.bat index 28d2f2668..bfa4f63c8 100644 --- a/src/scripts/install-umatl.bat +++ b/src/scripts/install-umatl.bat @@ -47,8 +47,11 @@ EXIT /B :mingit ECHO Installing MinGit ^(https://github.com/git-for-windows/git/releases^)... +IF EXIST "uma-temp-mingit\mingw64" ( + EXIT /B 0 +) MKDIR uma-temp-mingit -if not exist "uma-temp-mingit.zip" ( +IF NOT EXIST "uma-temp-mingit.zip" ( curl -L -o uma-temp-mingit.zip "https://github.com/git-for-windows/git/releases/download/v2.38.1.windows.1/MinGit-2.38.1-64-bit.zip" ) tar -xf uma-temp-mingit.zip -C uma-temp-mingit