mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-04 22:40:29 +03:00
update: allow --nosign to work with only repo_pubkey set
repo_pubkey is required for `fdroid update --nosign`, but repo_keyalias is not. For regular signing, the opposite true.
This commit is contained in:
parent
af4a2ab736
commit
ad6985cb40
1 changed files with 2 additions and 1 deletions
|
|
@ -566,7 +566,8 @@ def make_v0(apps, apks, repodir, repodict, requestsdict, fdroid_signing_key_fing
|
|||
with open(os.path.join(repodir, 'index.xml'), 'wb') as f:
|
||||
f.write(output)
|
||||
|
||||
if 'repo_keyalias' in common.config:
|
||||
if 'repo_keyalias' in common.config \
|
||||
or (common.options.nosign and 'repo_pubkey' in common.config):
|
||||
|
||||
if common.options.nosign:
|
||||
logging.info(_("Creating unsigned index in preparation for signing"))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue