mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2026-01-09 02:00:27 +01:00
One-click installer: delete the Miniconda installer after completion
This commit is contained in:
parent
dc2dd5b9d8
commit
74564fe8d0
|
|
@ -39,6 +39,9 @@ if [ "$conda_exists" == "F" ]; then
|
|||
# test the conda binary
|
||||
echo "Miniconda version:"
|
||||
"$CONDA_ROOT_PREFIX/bin/conda" --version
|
||||
|
||||
# delete the Miniconda installer
|
||||
rm "$INSTALL_DIR/miniconda_installer.sh"
|
||||
fi
|
||||
|
||||
# create the installer env
|
||||
|
|
|
|||
|
|
@ -39,6 +39,9 @@ if [ "$conda_exists" == "F" ]; then
|
|||
# test the conda binary
|
||||
echo "Miniconda version:"
|
||||
"$CONDA_ROOT_PREFIX/bin/conda" --version
|
||||
|
||||
# delete the Miniconda installer
|
||||
rm "$INSTALL_DIR/miniconda_installer.sh"
|
||||
fi
|
||||
|
||||
# create the installer env
|
||||
|
|
|
|||
|
|
@ -45,6 +45,9 @@ if "%conda_exists%" == "F" (
|
|||
@rem test the conda binary
|
||||
echo Miniconda version:
|
||||
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
|
||||
|
|
|
|||
Loading…
Reference in a new issue