mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 15:00:30 +03:00
Merge branch 'fix-ipfs_cid-detection' into 'master'
fix ipfs_cid detection logic See merge request fdroid/fdroidserver!1209
This commit is contained in:
commit
79be3c1e5d
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