From 5123892edbefff4bf473f4b5bc8430e550fc811f Mon Sep 17 00:00:00 2001 From: Nick Bolton Date: Thu, 26 Sep 2024 16:16:39 +0100 Subject: [PATCH] Only if not CI --- scripts/setup.py | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/scripts/setup.py b/scripts/setup.py index 686e5674d..00e87c8f8 100755 --- a/scripts/setup.py +++ b/scripts/setup.py @@ -43,15 +43,16 @@ def main(): # but it seemed quite complex and potentially required upstream changes. This approach seems # to be simpler and easier to maintain. def setup_deskflow(install_deps): - subprocess.run( - [ - "git", - "submodule", - "update", - "--init", - "--recursive", - ] - ) + if not os.getenv("CI"): + subprocess.run( + [ + "git", + "submodule", + "update", + "--init", + "--recursive", + ] + ) if install_deps: current_dir = os.getcwd()