mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-15 23:42:37 +03:00
chmod keystore after checking whether it was created
On OSX, when Java is not installed, it'll fail to create the keystore, but then give an error from chmod failing. This changes things so that the missing Java is reported instead.
This commit is contained in:
parent
1c1f481fcc
commit
f38619ef5f
1 changed files with 1 additions and 1 deletions
|
@ -2051,9 +2051,9 @@ def genkeystore(localconfig):
|
|||
'-keypass:file', config['keypassfile'],
|
||||
'-dname', localconfig['keydname']])
|
||||
# TODO keypass should be sent via stdin
|
||||
os.chmod(localconfig['keystore'], 0o0600)
|
||||
if p.returncode != 0:
|
||||
raise BuildException("Failed to generate key", p.output)
|
||||
os.chmod(localconfig['keystore'], 0o0600)
|
||||
# now show the lovely key that was just generated
|
||||
p = FDroidPopen(['keytool', '-list', '-v',
|
||||
'-keystore', localconfig['keystore'],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue