Skip to content

Commit

Permalink
Use CONDA_PREFIX
Browse files Browse the repository at this point in the history
The environment variable, $CONDA_ENV_PATH, has been replaced with $CONDA_PREFIX
  • Loading branch information
jhunkeler committed Sep 26, 2016
1 parent cf1deed commit ae576e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/updating.rst
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ Let's take the previous example one step further... Imagine ``stsci.tools`` is b

.. code-block:: sh
$ echo "stsci.tools <=3.4.0" > ${CONDA_ENV_PATH}/conda-meta/pinned
$ echo "stsci.tools <=3.4.0" > ${CONDA_PREFIX}/conda-meta/pinned
From now on, future calls to ``conda update`` will omit ``stsci.tools`` while performing dependency resolution. However, a clear side-effect of this will also be losing the ability to update packages that depend strictly on version ``3.4.2``. Although this is not a permanent solution it can prove useful in a bad situation.

Expand All @@ -85,4 +85,4 @@ From now on, future calls to ``conda update`` will omit ``stsci.tools`` while pe

.. rubric:: Footnotes

.. [1] (STScI-Specific) "Updating All Packages" now assumes the role of "SSBX" in the AstroConda distribution model.
.. [1] (STScI-Specific) "Updating All Packages" now assumes the role of "SSBX" in the AstroConda distribution model.

0 comments on commit ae576e9

Please sign in to comment.