This commit is contained in:
Kovid Goyal 2016-01-10 10:12:44 +05:30
parent 687c515597
commit f32888e47d

View File

@ -225,6 +225,7 @@ class UploadUserManual(Command): # {{{
for host in ('download', 'files'): for host in ('download', 'files'):
check_call(' '.join(['rsync', '-zrl', '--progress', check_call(' '.join(['rsync', '-zrl', '--progress',
srcdir, '%s:/srv/manual/' % host]), shell=True) srcdir, '%s:/srv/manual/' % host]), shell=True)
if host == 'download':
check_call(('ssh %s chown -R http:http /srv/manual' % host).split()) check_call(('ssh %s chown -R http:http /srv/manual' % host).split())
# }}} # }}}