This commit is contained in:
Kovid Goyal 2015-01-10 08:06:27 +05:30
parent 2878c58ebf
commit 73db79b1fa

View File

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