From ae576e9c948743f828378051f1be9bec6e6f0e1b Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Mon, 26 Sep 2016 11:07:55 -0400 Subject: Use CONDA_PREFIX The environment variable, $CONDA_ENV_PATH, has been replaced with $CONDA_PREFIX --- source/updating.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source') diff --git a/source/updating.rst b/source/updating.rst index 24e0018..26bba18 100644 --- a/source/updating.rst +++ b/source/updating.rst @@ -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. @@ -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. \ No newline at end of file +.. [1] (STScI-Specific) "Updating All Packages" now assumes the role of "SSBX" in the AstroConda distribution model. -- cgit