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): # {{{