1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-10-03 17:50:11 +02:00

fix ipfs_cid detection logic

@obfusk caught this.

I messed up in 02a91cba66 from !1202
This commit is contained in:
Hans-Christoph Steiner 2022-04-18 17:49:07 +02:00
parent 0c8e0abf28
commit ade0122d47
No known key found for this signature in database
GPG Key ID: 3E177817BA1B9BFA

View File

@ -288,6 +288,8 @@ def fill_config_defaults(thisconfig):
logging.warning(_('apksigner not found! Cannot sign or verify modern APKs'))
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"))
for k in ['ndk_paths', 'java_paths']: