]> arthur.barton.de Git - ConfigScripts.git/commitdiff
Setup "PIP_DOWNLOAD_CACHE" using "XDG_CACHE_HOME"
authorAlexander Barton <alex@barton.de>
Thu, 24 Apr 2014 13:52:18 +0000 (15:52 +0200)
committerAlexander Barton <alex@barton.de>
Thu, 24 Apr 2014 13:52:27 +0000 (15:52 +0200)
sys/profile

index ca27bbbcfa0929b098f79ffe53b0b48bd1321786..cd69ef91b0be10e74c700df398e9060e71941f18 100644 (file)
@@ -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