2022-09-09 17:32:33 +02:00
|
|
|
#!/bin/bash
|
|
|
|
|
2022-10-22 19:54:13 +02:00
|
|
|
# set legacy installer's PATH, if it exists
|
|
|
|
if [ -e "installer" ]; then export PATH="$(pwd)/installer/bin:$PATH"; fi
|
2022-09-03 14:25:38 +02:00
|
|
|
|
2022-10-22 19:54:13 +02:00
|
|
|
# Setup the packages required for the installer
|
|
|
|
scripts/bootstrap.sh
|
2022-09-03 14:38:52 +02:00
|
|
|
|
2022-10-22 19:54:13 +02:00
|
|
|
# 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
|
2022-09-15 11:44:48 +02:00
|
|
|
git --version
|
|
|
|
|
2022-10-22 19:54:13 +02:00
|
|
|
which python
|
|
|
|
python --version
|
|
|
|
|
|
|
|
which conda
|
|
|
|
conda --version
|
|
|
|
|
|
|
|
# Download the rest of the installer and UI
|
2022-09-03 14:25:38 +02:00
|
|
|
scripts/on_env_start.sh
|