From: Alexander Barton Date: Thu, 24 Apr 2014 13:52:18 +0000 (+0200) Subject: Setup "PIP_DOWNLOAD_CACHE" using "XDG_CACHE_HOME" X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d1bd0657dd856c0be2aabaf47dbedd9b2f7dfdb3;p=ConfigScripts.git Setup "PIP_DOWNLOAD_CACHE" using "XDG_CACHE_HOME" --- diff --git a/sys/profile b/sys/profile index ca27bbb..cd69ef9 100644 --- a/sys/profile +++ b/sys/profile @@ -119,7 +119,7 @@ type -t ccache 2>/dev/null && export CCACHE_DIR="$XDG_CACHE_HOME/ccache" # Setup environment for Python "pip", if installed if [ "$(type -t pip 2>/dev/null)" ]; then export PIP_REQUIRE_VIRTUALENV=true - export PIP_DOWNLOAD_CACHE="$HOME/.cache/pip" + export PIP_DOWNLOAD_CACHE="$XDG_CACHE_HOME/pip" fi # Move Xauthority file to local storage, so that sudo et all work