mirror of
https://github.com/AbdBarho/stable-diffusion-webui-docker.git
synced 2026-04-04 22:17:45 +00:00
Fix link / mkdir order (#299)
Fixes
c9153faff7 (commitcomment-97285124)
This commit is contained in:
parent
66846377a6
commit
042d5c561c
2 changed files with 4 additions and 3 deletions
|
|
@ -2,10 +2,11 @@
|
|||
|
||||
set -Eeuo pipefail
|
||||
|
||||
# mount scripts individually
|
||||
cp -vrTs /data/config/auto/scripts/ "${ROOT}/scripts/"
|
||||
# TODO: move all mkdir -p ?
|
||||
mkdir -p /data/config/auto/scripts/
|
||||
# mount scripts individually
|
||||
cp -vrTs /data/config/auto/scripts/ "${ROOT}/scripts/"
|
||||
|
||||
cp -n /docker/config.json /data/config/auto/config.json
|
||||
jq '. * input' /data/config/auto/config.json /docker/config.json | sponge /data/config/auto/config.json
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue