We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7b26d01 commit 7377a1fCopy full SHA for 7377a1f
webui.sh
@@ -81,7 +81,7 @@ printf "\e[1m\e[32mInstall script for stable-diffusion + Web UI\n"
81
printf "\e[1m\e[34mTested on Debian 11 (Bullseye)\e[0m"
82
printf "\n%s\n" "${delimiter}"
83
84
-if [[ -d .git ]]
+if [ -f .git -o -d .git ]
85
then
86
87
printf "Repo already cloned, using it as install directory"
0 commit comments