|
#!/bin/bash |
|
|
|
|
|
echo "Current working directory: $(pwd)" |
|
|
|
|
|
if [ ! -d "ComfyUI" ]; then |
|
echo "Cloning the ComfyUI repository..." |
|
git clone -b totoro4 https://github.com/camenduru/ComfyUI.git |
|
else |
|
echo "ComfyUI repository already exists." |
|
fi |
|
|
|
|
|
echo "Contents of the current directory:" |
|
ls -la |
|
echo "Contents of the ComfyUI directory:" |
|
ls -la ComfyUI |
|
|
|
|
|
if [ ! -d "ComfyUI/totoro_extras" ]; then |
|
echo "Error: Failed to clone the ComfyUI repository or 'totoro_extras' directory is missing." |
|
exit 1 |
|
else |
|
echo "ComfyUI repository cloned successfully." |
|
fi |
|
|