Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
S
Stable Diffusion Webui
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
novelai-storage
Stable Diffusion Webui
Commits
6515dedf
Commit
6515dedf
authored
Oct 24, 2022
by
Mackerel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
webui.sh: no automatic git pull
parent
35c45df2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
webui.sh
webui.sh
+3
-4
No files found.
webui.sh
View file @
6515dedf
...
@@ -102,15 +102,14 @@ then
...
@@ -102,15 +102,14 @@ then
exit
1
exit
1
fi
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
;
}
cd
"
${
install_dir
}
"
/
||
{
printf
"
\e
[1m
\e
[31mERROR: Can't cd to %s/, aborting...
\e
[0m"
"
${
install_dir
}
"
;
exit
1
;
}
if
[[
-d
"
${
clone_dir
}
"
]]
if
[[
-d
"
${
clone_dir
}
"
]]
then
then
cd
"
${
clone_dir
}
"
/
||
{
printf
"
\e
[1m
\e
[31mERROR: Can't cd to %s/%s/, aborting...
\e
[0m"
"
${
install_dir
}
"
"
${
clone_dir
}
"
;
exit
1
;
}
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
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
}
"
"
${
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
;
}
cd
"
${
clone_dir
}
"
/
||
{
printf
"
\e
[1m
\e
[31mERROR: Can't cd to %s/%s/, aborting...
\e
[0m"
"
${
install_dir
}
"
"
${
clone_dir
}
"
;
exit
1
;
}
fi
fi
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment