mirror of
https://github.com/AbdBarho/stable-diffusion-webui-docker.git
synced 2026-04-04 22:17:45 +00:00
Update
This commit is contained in:
parent
802d0bcd68
commit
ab47d2c699
15 changed files with 435 additions and 65 deletions
|
|
@ -1,5 +1,5 @@
|
|||
#!/bin/bash
|
||||
|
||||
#set -x
|
||||
set -Eeuo pipefail
|
||||
|
||||
# TODO: move all mkdir -p ?
|
||||
|
|
@ -50,6 +50,7 @@ for to_path in "${!MOUNTS[@]}"; do
|
|||
rm -rf "${to_path}"
|
||||
if [ ! -f "$from_path" ]; then
|
||||
mkdir -vp "$from_path"
|
||||
# mkdir -vp "$from_path" || true
|
||||
fi
|
||||
mkdir -vp "$(dirname "${to_path}")"
|
||||
ln -sT "${from_path}" "${to_path}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue