mirror of
https://github.com/AbdBarho/stable-diffusion-webui-docker.git
synced 2026-03-12 00:04:01 +01:00
Check if requirement.txt exists
Wont error from a file that doesn't exist
This commit is contained in:
parent
f80c9941e9
commit
56826e16c0
|
|
@ -25,8 +25,8 @@ done
|
||||||
if [ "$(ls -A /stable-diffusion/custom_nodes)" ]; then
|
if [ "$(ls -A /stable-diffusion/custom_nodes)" ]; then
|
||||||
chmod 777 -R "/stable-diffusion/custom_nodes/"
|
chmod 777 -R "/stable-diffusion/custom_nodes/"
|
||||||
apt-get install build-essential -y
|
apt-get install build-essential -y
|
||||||
for dir in "/stable-diffusion/custom_nodes/*/"; do
|
for dir in "/stable-diffusion/custom_nodes/*"; do
|
||||||
if [ -d $dir ]; then
|
if [ -e "$dir/requirements.txt" ]; then
|
||||||
echo $dir
|
echo $dir
|
||||||
cd $dir
|
cd $dir
|
||||||
pip install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue