Activate the installer env while starting up, like the previous installer did in the start script

This commit is contained in:
cmdr2
2022-10-25 19:21:26 +05:30
parent a281efef04
commit 0c2d227da1
4 changed files with 9 additions and 11 deletions

View File

@@ -9,6 +9,12 @@ scripts/bootstrap.sh
# 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
# activate the installer env
CONDA_BASEPATH=$(conda info --base)
source "$CONDA_BASEPATH/etc/profile.d/conda.sh" # avoids the 'shell not initialized' error
conda activate
# Test the bootstrap
which git
git --version