mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2024-12-26 17:08:54 +01:00
ad07aeb041
and make shellscripts in scripts/ executable
24 lines
585 B
Bash
Executable File
24 lines
585 B
Bash
Executable File
#!/bin/bash
|
|
|
|
cd "$(dirname "${BASH_SOURCE[0]}")"
|
|
|
|
# set legacy installer's PATH, if it exists
|
|
if [ -e "installer" ]; then export PATH="$(pwd)/installer/bin:$PATH"; fi
|
|
|
|
# Setup the packages required for the installer
|
|
scripts/bootstrap.sh || exit 1
|
|
|
|
# set new installer's PATH, if it downloaded any packages
|
|
if [ -e "installer_files/env" ]; then export PATH="$(pwd)/installer_files/env/bin:$PATH"; fi
|
|
|
|
# Test the bootstrap
|
|
which git
|
|
git --version || exit 1
|
|
|
|
which conda
|
|
conda --version || exit 1
|
|
|
|
# Download the rest of the installer and UI
|
|
chmod +x scripts/*.sh
|
|
scripts/on_env_start.sh
|