From 3c04b7d93cfdd1a2d2b22d1eecf7cb8b2e844764 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Sun, 21 Dec 2014 04:04:35 -0800 Subject: [PATCH] pip_fix download cached --- tasks/__init__.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tasks/__init__.py b/tasks/__init__.py index 44af1576..feb44d5f 100644 --- a/tasks/__init__.py +++ b/tasks/__init__.py @@ -112,6 +112,12 @@ def customize_user_settings(ctx): email = {1}""".format(username, email)) +@ctask +def fix_pip_download_cache(ctx): + ctx.run("sudo chown imalison ~/.pip/download_cache -R") + + +ns.add_task(fix_pip_download_cache) ns.add_task(change_shell) ns.add_task(customize_user_settings) ns.add_task(dotfiles)