Update setup.sh
Browse files
setup.sh
CHANGED
|
@@ -1,15 +1,19 @@
|
|
| 1 |
#!/bin/bash
|
| 2 |
|
|
|
|
|
|
|
|
|
|
| 3 |
# Clone the ComfyUI repository if it doesn't exist
|
| 4 |
if [ ! -d "ComfyUI" ]; then
|
| 5 |
echo "Cloning the ComfyUI repository..."
|
| 6 |
git clone -b totoro4 https://github.com/camenduru/ComfyUI.git
|
| 7 |
-
else
|
| 8 |
-
echo "ComfyUI repository already exists."
|
| 9 |
fi
|
| 10 |
|
| 11 |
# Verify the clone
|
| 12 |
if [ ! -d "ComfyUI/totoro_extras" ]; then
|
| 13 |
echo "Error: Failed to clone the ComfyUI repository or 'totoro_extras' directory is missing."
|
| 14 |
exit 1
|
|
|
|
|
|
|
| 15 |
fi
|
|
|
|
|
|
| 1 |
#!/bin/bash
|
| 2 |
|
| 3 |
+
# Print the current working directory for debugging
|
| 4 |
+
echo "Current working directory: $(pwd)"
|
| 5 |
+
|
| 6 |
# Clone the ComfyUI repository if it doesn't exist
|
| 7 |
if [ ! -d "ComfyUI" ]; then
|
| 8 |
echo "Cloning the ComfyUI repository..."
|
| 9 |
git clone -b totoro4 https://github.com/camenduru/ComfyUI.git
|
|
|
|
|
|
|
| 10 |
fi
|
| 11 |
|
| 12 |
# Verify the clone
|
| 13 |
if [ ! -d "ComfyUI/totoro_extras" ]; then
|
| 14 |
echo "Error: Failed to clone the ComfyUI repository or 'totoro_extras' directory is missing."
|
| 15 |
exit 1
|
| 16 |
+
else
|
| 17 |
+
echo "ComfyUI repository cloned successfully."
|
| 18 |
fi
|
| 19 |
+
|