mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2024-11-22 08:13:22 +01:00
can't overwrite self - linux install script
This commit is contained in:
parent
96d4b52da3
commit
3224cd73ed
@ -22,7 +22,7 @@ else
|
||||
fi
|
||||
|
||||
cp -Rf sd-ui-files/ui ui
|
||||
cp -Rf sd-ui-files/scripts/* scripts/
|
||||
cp "scripts/start.sh" .
|
||||
cp sd-ui-files/scripts/on_sd_start.sh scripts/
|
||||
cp sd-ui-files/scripts/start.sh .
|
||||
|
||||
./scripts/on_sd_start.sh
|
||||
|
@ -1,6 +1,8 @@
|
||||
cp sd-ui-files/scripts/on_env_start.sh scripts/
|
||||
|
||||
source installer/etc/profile.d/conda.sh
|
||||
|
||||
if [ `grep -c sd_git_cloned scripts/install_status.txt` -gt "0" ]; then
|
||||
if [ -e "scripts/install_status.txt" ] && [ `grep -c sd_git_cloned scripts/install_status.txt` -gt "0" ]; then
|
||||
echo "Stable Diffusion's git repository was already installed. Updating.."
|
||||
|
||||
cd stable-diffusion
|
||||
|
Loading…
Reference in New Issue
Block a user