mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2025-04-15 06:58:25 +02:00
Tabs to spaces in bootstrap scripts
This commit is contained in:
parent
d1c9db874f
commit
a7fde73df4
@ -37,11 +37,11 @@ if "%PACKAGES_TO_INSTALL%" NEQ "" (
|
|||||||
mkdir "%MAMBA_ROOT_PREFIX%"
|
mkdir "%MAMBA_ROOT_PREFIX%"
|
||||||
call curl -Lk "%MICROMAMBA_DOWNLOAD_URL%" > "%MAMBA_ROOT_PREFIX%\micromamba.exe"
|
call curl -Lk "%MICROMAMBA_DOWNLOAD_URL%" > "%MAMBA_ROOT_PREFIX%\micromamba.exe"
|
||||||
|
|
||||||
if "%ERRORLEVEL%" NEQ "0" (
|
if "%ERRORLEVEL%" NEQ "0" (
|
||||||
echo "There was a problem downloading micromamba. Cannot continue."
|
echo "There was a problem downloading micromamba. Cannot continue."
|
||||||
pause
|
pause
|
||||||
exit /b
|
exit /b
|
||||||
)
|
)
|
||||||
|
|
||||||
@rem test the mamba binary
|
@rem test the mamba binary
|
||||||
echo Micromamba version:
|
echo Micromamba version:
|
||||||
|
@ -52,13 +52,14 @@ if [ "$PACKAGES_TO_INSTALL" != "" ]; then
|
|||||||
|
|
||||||
mkdir -p "$MAMBA_ROOT_PREFIX"
|
mkdir -p "$MAMBA_ROOT_PREFIX"
|
||||||
curl -L "$MICROMAMBA_DOWNLOAD_URL" | tar -xvj bin/micromamba -O > "$MAMBA_ROOT_PREFIX/micromamba"
|
curl -L "$MICROMAMBA_DOWNLOAD_URL" | tar -xvj bin/micromamba -O > "$MAMBA_ROOT_PREFIX/micromamba"
|
||||||
if [ "$?" != "0" ]; then
|
|
||||||
echo
|
if [ "$?" != "0" ]; then
|
||||||
echo "EE micromamba download failed"
|
echo
|
||||||
echo "EE If the lines above contain 'bzip2: Cannot exec', your system doesn't have bzip2 installed"
|
echo "EE micromamba download failed"
|
||||||
echo "EE If there are network errors, please check your internet setup"
|
echo "EE If the lines above contain 'bzip2: Cannot exec', your system doesn't have bzip2 installed"
|
||||||
fail "micromamba download failed"
|
echo "EE If there are network errors, please check your internet setup"
|
||||||
fi
|
fail "micromamba download failed"
|
||||||
|
fi
|
||||||
|
|
||||||
chmod u+x "$MAMBA_ROOT_PREFIX/micromamba"
|
chmod u+x "$MAMBA_ROOT_PREFIX/micromamba"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user