mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 15:00:30 +03:00
fix ipfs_cid detection logic
@obfusk caught this.
I messed up in 02a91cba66 from !1202
This commit is contained in:
parent
0c8e0abf28
commit
ade0122d47
1 changed files with 2 additions and 0 deletions
|
|
@ -288,6 +288,8 @@ def fill_config_defaults(thisconfig):
|
||||||
logging.warning(_('apksigner not found! Cannot sign or verify modern APKs'))
|
logging.warning(_('apksigner not found! Cannot sign or verify modern APKs'))
|
||||||
|
|
||||||
if 'ipfs_cid' not in thisconfig and shutil.which('ipfs_cid'):
|
if 'ipfs_cid' not in thisconfig and shutil.which('ipfs_cid'):
|
||||||
|
thisconfig['ipfs_cid'] = shutil.which('ipfs_cid')
|
||||||
|
if not thisconfig.get('ipfs_cid'):
|
||||||
logging.warning(_("ipfs_cid not found, skipping CIDv1 generation"))
|
logging.warning(_("ipfs_cid not found, skipping CIDv1 generation"))
|
||||||
|
|
||||||
for k in ['ndk_paths', 'java_paths']:
|
for k in ['ndk_paths', 'java_paths']:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue