From 873426cdbbaa5cc29d71af00d507e851bc5d3012 Mon Sep 17 00:00:00 2001 From: Fabien Maussion Date: Sun, 13 Mar 2016 23:40:42 +0100 Subject: [PATCH] upload screenrc if available --- deployment/fabfile.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/deployment/fabfile.py b/deployment/fabfile.py index 863fc49ba..cb21d1478 100644 --- a/deployment/fabfile.py +++ b/deployment/fabfile.py @@ -585,6 +585,11 @@ def node_install(cn=def_cn,inst_type_idx=def_inst_type,idn=0, run('mkdir ~/.aws') put(aws_file, '~/.aws/config') + # If user has screen file, take it too! + s_file = os.path.expanduser('~/.screenrc') + if os.path.exists(s_file): + put(s_file, '~/.screenrc') + # Now virtualenv stuffs run('pip install virtualenvwrapper') run('mkdir ~/.pyvirtualenvs')