Fix pubkey extraction on update

Fix pubkey extraction in case of non-empty _JAVA_OPTIONS
This commit is contained in:
Dmitriy Bogdanov 2016-02-17 22:22:57 +04:00
parent 8135760554
commit 7fc55a3847
2 changed files with 17 additions and 3 deletions

View file

@ -716,7 +716,8 @@ def extract_pubkey():
'-alias', config['repo_keyalias'],
'-keystore', config['keystore'],
'-storepass:file', config['keystorepassfile']]
+ config['smartcardoptions'], output=False)
+ config['smartcardoptions'],
output=False, stderr_to_stdout=False)
if p.returncode != 0 or len(p.output) < 20:
msg = "Failed to get repo pubkey!"
if config['keystore'] == 'NONE':