aboutsummaryrefslogtreecommitdiff
path: root/webui.sh
diff options
context:
space:
mode:
authortimntorres <timothynarcisotorres@gmail.com>2022-10-29 14:55:30 -0700
committertimntorres <timothynarcisotorres@gmail.com>2022-10-29 14:55:30 -0700
commite709afb0f774dde34a0a0f8d972a7bd2fd0f023a (patch)
treec222a84c2e92d245e2a8c736f14740d94cfae380 /webui.sh
parent2c4d20388425a5e40b93eef3722e42e8d375fbb4 (diff)
parente7254746bbfbff45099db44a8d4d25dd6181877d (diff)
Merge commit 'e7254746bbfbff45099db44a8d4d25dd6181877d' into 3825-save-hypernet-strength-to-info
Diffstat (limited to 'webui.sh')
-rwxr-xr-xwebui.sh7
1 files changed, 3 insertions, 4 deletions
diff --git a/webui.sh b/webui.sh
index a9f85d89..cc06f344 100755
--- a/webui.sh
+++ b/webui.sh
@@ -102,15 +102,14 @@ then
exit 1
fi
-printf "\n%s\n" "${delimiter}"
-printf "Clone or update stable-diffusion-webui"
-printf "\n%s\n" "${delimiter}"
cd "${install_dir}"/ || { printf "\e[1m\e[31mERROR: Can't cd to %s/, aborting...\e[0m" "${install_dir}"; exit 1; }
if [[ -d "${clone_dir}" ]]
then
cd "${clone_dir}"/ || { printf "\e[1m\e[31mERROR: Can't cd to %s/%s/, aborting...\e[0m" "${install_dir}" "${clone_dir}"; exit 1; }
- "${GIT}" pull
else
+ printf "\n%s\n" "${delimiter}"
+ printf "Clone stable-diffusion-webui"
+ printf "\n%s\n" "${delimiter}"
"${GIT}" clone https://github.com/AUTOMATIC1111/stable-diffusion-webui.git "${clone_dir}"
cd "${clone_dir}"/ || { printf "\e[1m\e[31mERROR: Can't cd to %s/%s/, aborting...\e[0m" "${install_dir}" "${clone_dir}"; exit 1; }
fi