Hmmm / setup.sh
mobenta's picture
Update setup.sh
0b77113 verified
raw
history blame
739 Bytes
#!/bin/bash
# Print the current working directory for debugging
echo "Current working directory: $(pwd)"
# Clone the ComfyUI repository if it doesn't exist
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
# List contents of the current directory and ComfyUI directory
echo "Contents of the current directory:"
ls -la
echo "Contents of the ComfyUI directory:"
ls -la ComfyUI
# Verify the clone
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