|
@@ -57,9 +57,10 @@ chown -R root ~/.cache/
|
|
|
chmod 766 ~/.cache/
|
|
chmod 766 ~/.cache/
|
|
|
|
|
|
|
|
shopt -s nullglob
|
|
shopt -s nullglob
|
|
|
-list=(./extensions/*/requirements.txt)
|
|
|
|
|
-for req in "${list[@]}"; do
|
|
|
|
|
- pip install -r "$req"
|
|
|
|
|
|
|
+# For install.py, please refer to https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Developing-extensions#installpy
|
|
|
|
|
+list=(./extensions/*/install.py)
|
|
|
|
|
+for installscript in "${list[@]}"; do
|
|
|
|
|
+ PYTHONPATH=${ROOT} python "$installscript"
|
|
|
done
|
|
done
|
|
|
|
|
|
|
|
if [ -f "/data/config/auto/startup.sh" ]; then
|
|
if [ -f "/data/config/auto/startup.sh" ]; then
|