aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMackerel <mackerel@chickatrice.com>2022-10-24 14:13:25 +0000
committerMackerel <mackerel@chickatrice.com>2022-10-29 15:59:50 +0000
commit6515dedf57db6a46c7a85b0b7a1eee0daad90123 (patch)
treec1fa392fb66a611a557887aa55082e1d36535085
parent35c45df28b303a05d56a13cb56d4046f08cf8c25 (diff)
downloadstable-diffusion-webui-gfx803-6515dedf57db6a46c7a85b0b7a1eee0daad90123.tar.gz
stable-diffusion-webui-gfx803-6515dedf57db6a46c7a85b0b7a1eee0daad90123.tar.bz2
stable-diffusion-webui-gfx803-6515dedf57db6a46c7a85b0b7a1eee0daad90123.zip
webui.sh: no automatic git pull
-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