mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
687c515597
commit
f32888e47d
@ -225,7 +225,8 @@ 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)
|
||||||
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): # {{{
|
class UploadDemo(Command): # {{{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user