mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-10-01 01:26:03 -04: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 New Issue
Block a user