mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-04 22:40:29 +03:00
Merge branch 'ipfs-cid' into 'master'
Only check for ipfs_cid when doing fdroid update See merge request fdroid/fdroidserver!1503
This commit is contained in:
commit
ba91b71d60
1 changed files with 2 additions and 1 deletions
|
|
@ -366,7 +366,8 @@ def fill_config_defaults(thisconfig):
|
|||
|
||||
if 'ipfs_cid' not in thisconfig and shutil.which('ipfs_cid'):
|
||||
thisconfig['ipfs_cid'] = shutil.which('ipfs_cid')
|
||||
if not thisconfig.get('ipfs_cid'):
|
||||
cmd = sys.argv[1] if len(sys.argv) >= 2 else ''
|
||||
if cmd == 'update' and not thisconfig.get('ipfs_cid'):
|
||||
logging.debug(_("ipfs_cid not found, skipping CIDv1 generation"))
|
||||
|
||||
for k in ['ndk_paths', 'java_paths']:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue