mirror of
https://github.com/AbdBarho/stable-diffusion-webui-docker.git
synced 2025-12-06 07:12:11 +01:00
parent
3682303355
commit
463f332d14
|
|
@ -32,7 +32,7 @@ for to_path in "${!MOUNTS[@]}"; do
|
|||
set -Eeuo pipefail
|
||||
from_path="${MOUNTS[${to_path}]}"
|
||||
rm -rf "${to_path}"
|
||||
if [ -d "$from_path" ]; then
|
||||
if [ ! -f "$from_path" ]; then
|
||||
mkdir -vp "$from_path"
|
||||
fi
|
||||
mkdir -vp "$(dirname "${to_path}")"
|
||||
|
|
|
|||
Loading…
Reference in a new issue