Init conda linux v2

This commit is contained in:
cmdr2 2022-09-03 18:08:52 +05:30
parent 021315f0f5
commit 18ef36bbc3
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
source installer/bin/activate
conda-unpack
source installer/etc/profile.d/conda.sh
scripts/on_env_start.sh

View File

@ -1,6 +1,6 @@
printf "\n\nStable Diffusion UI\n\n"
if [ `grep -c sd_ui_git_cloned scripts/install_status.txt` -gt "0" ]; then
if [ -f "scripts/install_status.txt" ] && [ `grep -c sd_ui_git_cloned scripts/install_status.txt` -gt "0" ]; then
echo "Stable Diffusion UI's git repository was already installed. Updating.."
cd sd-ui-files