added -f flag to all conda clean commands

This commit adds the additional `-f` force command to all uses of `conda
clean --all` through the repo. Size should be smaller, but still testing
if anything breaks. See issue #861.
This commit is contained in:
echowhisky
2019-05-04 19:11:32 +00:00
parent 1f8311a7aa
commit 40c5c07b0a
12 changed files with 16 additions and 16 deletions

View File

@@ -87,7 +87,7 @@ The next steps are:
```
if [ -f /home/$NB_USER/environment.yml ]; then
conda env update --name root --file /home/$NB_USER/environment.yml
conda clean --all -y
conda clean --all -f -y
else
if [ -f /home/$NB_USER/requirements.txt ]; then
pip --no-cache-dir install -r /home/$NB_USER/requirements.txt

View File

@@ -26,7 +26,7 @@ rm -rf /tmp/src
if [ -f /home/$NB_USER/environment.yml ]; then
conda env update --name root --file /home/$NB_USER/environment.yml
conda clean --all -y
conda clean --all -f -y
else
if [ -f /home/$NB_USER/requirements.txt ]; then
pip --no-cache-dir install -r /home/$NB_USER/requirements.txt