first commit
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
|
||||
# If the user mounts /opt/ComfyUI, but their directory doesn't have ComfyUI cloned,
|
||||
# we're gonna copy the pre-cloned one into the mounted directory.
|
||||
|
||||
if [ ! -e /opt/ComfyUI/requirements.txt ]; then
|
||||
echo "No ComfyUI detected, copying a built-in (pre-cloned) one..."
|
||||
cp -r /opt/ComfyUI-pre-cloned/{.,}* /opt/ComfyUI/
|
||||
fi
|
||||
Reference in New Issue
Block a user