diff --git a/install/from-scratch.sh b/install/from-scratch.sh index 4bbaf2f5fd7946a26692a3ac7b26e19bec27d3db..8e1fc24e2c2c0deabf610960d401b7d0a233a7f1 100755 --- a/install/from-scratch.sh +++ b/install/from-scratch.sh @@ -24,8 +24,10 @@ if [ -d ${BASEDIR}/envs/${NAME} ]; then fi fi -echo "[>>] Downloading latest bob-devel.yml environment..." -curl -o ${YML} https://gitlab.idiap.ch/bob/bob/raw/master/doc/${YML} +if [ ! -e "${YML}" ]; then + echo "[>>] Downloading latest bob-devel.yml environment..." + curl -o ${YML} https://gitlab.idiap.ch/bob/bob/raw/master/doc/${YML} +fi echo "[>>] Creating environment ${NAME} for python ${PYTHON_VERSION} with bob dependencies..." ${CONDA} env create --name=${NAME} --file=${YML} python=${PYTHON_VERSION}