mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-09-20 10:35:10 +02:00
One-click installer: delete the Miniconda installer after completion
This commit is contained in:
parent
dc2dd5b9d8
commit
74564fe8d0
4 changed files with 12 additions and 0 deletions
|
@ -39,6 +39,9 @@ if [ "$conda_exists" == "F" ]; then
|
||||||
# test the conda binary
|
# test the conda binary
|
||||||
echo "Miniconda version:"
|
echo "Miniconda version:"
|
||||||
"$CONDA_ROOT_PREFIX/bin/conda" --version
|
"$CONDA_ROOT_PREFIX/bin/conda" --version
|
||||||
|
|
||||||
|
# delete the Miniconda installer
|
||||||
|
rm "$INSTALL_DIR/miniconda_installer.sh"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# create the installer env
|
# create the installer env
|
||||||
|
|
|
@ -39,6 +39,9 @@ if [ "$conda_exists" == "F" ]; then
|
||||||
# test the conda binary
|
# test the conda binary
|
||||||
echo "Miniconda version:"
|
echo "Miniconda version:"
|
||||||
"$CONDA_ROOT_PREFIX/bin/conda" --version
|
"$CONDA_ROOT_PREFIX/bin/conda" --version
|
||||||
|
|
||||||
|
# delete the Miniconda installer
|
||||||
|
rm "$INSTALL_DIR/miniconda_installer.sh"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# create the installer env
|
# create the installer env
|
||||||
|
|
|
@ -45,6 +45,9 @@ if "%conda_exists%" == "F" (
|
||||||
@rem test the conda binary
|
@rem test the conda binary
|
||||||
echo Miniconda version:
|
echo Miniconda version:
|
||||||
call "%CONDA_ROOT_PREFIX%\_conda.exe" --version || ( echo. && echo Miniconda not found. && goto end )
|
call "%CONDA_ROOT_PREFIX%\_conda.exe" --version || ( echo. && echo Miniconda not found. && goto end )
|
||||||
|
|
||||||
|
@rem delete the Miniconda installer
|
||||||
|
del "%INSTALL_DIR%\miniconda_installer.exe"
|
||||||
)
|
)
|
||||||
|
|
||||||
@rem create the installer env
|
@rem create the installer env
|
||||||
|
|
3
wsl.sh
3
wsl.sh
|
@ -66,6 +66,9 @@ if [ "$conda_exists" == "F" ]; then
|
||||||
# test the conda binary
|
# test the conda binary
|
||||||
echo "Miniconda version:"
|
echo "Miniconda version:"
|
||||||
"$CONDA_ROOT_PREFIX/bin/conda" --version
|
"$CONDA_ROOT_PREFIX/bin/conda" --version
|
||||||
|
|
||||||
|
# delete the Miniconda installer
|
||||||
|
rm "$INSTALL_DIR/miniconda_installer.sh"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# create the installer env
|
# create the installer env
|
||||||
|
|
Loading…
Reference in a new issue