mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-09-19 03:30:12 +02:00
Fix 'fdroid update' regression
This is from MR !48. It refuses to update because there is no 'keypass' or 'keystorepass' in the config. These shouldn't be in the config of any properly set up existing repo in the first place. They certainly aren't in any of mine (as a result of which, it refused to work on any of them!)
This commit is contained in:
parent
f345b24816
commit
4178b34351
@ -750,10 +750,10 @@ def make_index(apps, sortedids, apks, repodir, archive, categories):
|
|||||||
if not 'keystore' in config:
|
if not 'keystore' in config:
|
||||||
nosigningkey = True
|
nosigningkey = True
|
||||||
logging.critical("'keystore' not found in config.py!")
|
logging.critical("'keystore' not found in config.py!")
|
||||||
if not 'keystorepass' in config:
|
if not 'keystorepass' in config and not 'keystorepassfile' in config:
|
||||||
nosigningkey = True
|
nosigningkey = True
|
||||||
logging.critical("'keystorepass' not found in config.py!")
|
logging.critical("'keystorepass' not found in config.py!")
|
||||||
if not 'keypass' in config:
|
if not 'keypass' in config and not 'keypassfile' in config:
|
||||||
nosigningkey = True
|
nosigningkey = True
|
||||||
logging.critical("'keypass' not found in config.py!")
|
logging.critical("'keypass' not found in config.py!")
|
||||||
if not os.path.exists(config['keystore']):
|
if not os.path.exists(config['keystore']):
|
||||||
|
Loading…
Reference in New Issue
Block a user