mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
2878c58ebf
commit
73db79b1fa
@ -61,8 +61,8 @@ def upload_signatures():
|
|||||||
f.write(fingerprint)
|
f.write(fingerprint)
|
||||||
check_call('scp %s/*.sha512 divok:%s/signatures/' % (tdir, DOWNLOADS),
|
check_call('scp %s/*.sha512 divok:%s/signatures/' % (tdir, DOWNLOADS),
|
||||||
shell=True)
|
shell=True)
|
||||||
check_call(shlex.split('scp %s/*.sha512 code:/srv/code/signatures/' % tdir))
|
check_call('scp %s/*.sha512 code:/srv/code/signatures/' % tdir, shell=True)
|
||||||
check_call(shlex.split('ssh code chown -R nobody:nobody /srv/code/signatures'))
|
check_call(shlex.split('ssh code chown -R http:http /srv/code/signatures'))
|
||||||
shutil.rmtree(tdir)
|
shutil.rmtree(tdir)
|
||||||
|
|
||||||
class ReUpload(Command): # {{{
|
class ReUpload(Command): # {{{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user