Update file executable_install-program

This commit is contained in:
Brian Zalewski 2023-02-16 03:33:34 +00:00
parent 0291d49dc1
commit 2d767aa868

View file

@ -164,7 +164,9 @@ async function generateInstallOrders(pkgsToInstall) {
console.log('pkg:', pkg) console.log('pkg:', pkg)
continue continue
} }
let comparesRemaining = preferenceOrder.length
for (let preference of preferenceOrder) { for (let preference of preferenceOrder) {
comparesRemaining--
let currentSelector, doubleScoped, scopedPkgManager, scopedSystem, normalCheck let currentSelector, doubleScoped, scopedPkgManager, scopedSystem, normalCheck
if ( if (
softwarePackages[packageKey][preference + ':' + osID] || softwarePackages[packageKey][preference + ':' + osID] ||
@ -402,8 +404,10 @@ async function generateInstallOrders(pkgsToInstall) {
softwarePackages softwarePackages
) )
break break
}
} else { } else {
log('info', 'No Match', `No suitable installation type available for \`${pkg}\``) if (!comparedCountMax) {
log('info', 'No Match', `There was no match found for ${pkg} - it may be an OS-specific package`)
} }
} }
} }