From 84d3d6ddb8427643148ebb6799a899365310b598 Mon Sep 17 00:00:00 2001 From: YAN Wenkun Date: Mon, 9 Sep 2024 12:22:19 +0800 Subject: [PATCH] 'cu124-megapak' using non-shallow git repo of ComfyUI --- cu124-megapak/runner-scripts/download.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/cu124-megapak/runner-scripts/download.sh b/cu124-megapak/runner-scripts/download.sh index 6154a73..f608a8b 100644 --- a/cu124-megapak/runner-scripts/download.sh +++ b/cu124-megapak/runner-scripts/download.sh @@ -25,7 +25,10 @@ echo "[INFO] Downloading ComfyUI & Manager..." echo "########################################" cd /root -clone_or_pull https://github.com/comfyanonymous/ComfyUI.git +set +e +git clone https://github.com/comfyanonymous/ComfyUI.git \ + || git -C ComfyUI pull --ff-only +set -e cd /root/ComfyUI/custom_nodes clone_or_pull https://github.com/ltdrdata/ComfyUI-Manager.git