mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Now host user manual on main server
This commit is contained in:
parent
f32888e47d
commit
ccd069c343
@ -222,11 +222,8 @@ class UploadUserManual(Command): # {{{
|
||||
self.build_plugin_example(x)
|
||||
|
||||
srcdir = self.j(gettempdir(), 'user-manual-build', 'en', 'html') + '/'
|
||||
for host in ('download', 'files'):
|
||||
check_call(' '.join(['rsync', '-zrl', '--progress',
|
||||
srcdir, '%s:/srv/manual/' % host]), shell=True)
|
||||
if host == 'download':
|
||||
check_call(('ssh %s chown -R http:http /srv/manual' % host).split())
|
||||
check_call(' '.join(['rsync', '-zrl', '--info=progress2', srcdir, 'main:/srv/manual/']), shell=True)
|
||||
check_call('ssh main chown -R http:http /srv/manual'.split())
|
||||
# }}}
|
||||
|
||||
class UploadDemo(Command): # {{{
|
||||
|
Loading…
x
Reference in New Issue
Block a user