From d1bd0657dd856c0be2aabaf47dbedd9b2f7dfdb3 Mon Sep 17 00:00:00 2001 From: Alexander Barton Date: Thu, 24 Apr 2014 15:52:18 +0200 Subject: [PATCH] Setup "PIP_DOWNLOAD_CACHE" using "XDG_CACHE_HOME" --- sys/profile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.2