reckless: fix installer search
Some installer procedures have more options for valid entypoint names than others. We iterate through each of their first choices, then their second choices, etc..
This commit is contained in:
committed by
madelinevibes
parent
afffb534b4
commit
bd26f726f1
@@ -821,6 +821,9 @@ class InferInstall():
|
||||
for tier in range(0, 10):
|
||||
# Look for each installers preferred entrypoint format first
|
||||
for inst in INSTALLERS:
|
||||
# All of this installer's entrypoint options exhausted.
|
||||
if tier >= len(inst.entries):
|
||||
continue
|
||||
fmt = inst.entries[tier]
|
||||
if '{name}' in fmt:
|
||||
pre = fmt.split('{name}')[0]
|
||||
|
||||
Reference in New Issue
Block a user