From f32888e47d8cbce6114c70b46f100ea753a69600 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sun, 10 Jan 2016 10:12:44 +0530 Subject: [PATCH] ... --- setup/upload.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup/upload.py b/setup/upload.py index 2a70dc4f6a..cfa41d89fe 100644 --- a/setup/upload.py +++ b/setup/upload.py @@ -225,7 +225,8 @@ class UploadUserManual(Command): # {{{ for host in ('download', 'files'): check_call(' '.join(['rsync', '-zrl', '--progress', srcdir, '%s:/srv/manual/' % host]), shell=True) - check_call(('ssh %s chown -R http:http /srv/manual' % host).split()) + if host == 'download': + check_call(('ssh %s chown -R http:http /srv/manual' % host).split()) # }}} class UploadDemo(Command): # {{{