Move the installer activation to on_sd_start

This commit is contained in:
cmdr2
2022-10-26 12:15:58 +05:30
parent dcb27e7de8
commit 137e519b66
4 changed files with 13 additions and 13 deletions

View File

@ -9,12 +9,6 @@ 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