From 2d767aa868a2d9738007232149b79219ef6cb80c Mon Sep 17 00:00:00 2001 From: Brian Zalewski Date: Thu, 16 Feb 2023 03:33:34 +0000 Subject: [PATCH] Update file executable_install-program --- home/dot_local/bin/executable_install-program | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/home/dot_local/bin/executable_install-program b/home/dot_local/bin/executable_install-program index 75759efe..ec9cebce 100644 --- a/home/dot_local/bin/executable_install-program +++ b/home/dot_local/bin/executable_install-program @@ -164,7 +164,9 @@ async function generateInstallOrders(pkgsToInstall) { console.log('pkg:', pkg) continue } + let comparesRemaining = preferenceOrder.length for (let preference of preferenceOrder) { + comparesRemaining-- let currentSelector, doubleScoped, scopedPkgManager, scopedSystem, normalCheck if ( softwarePackages[packageKey][preference + ':' + osID] || @@ -402,8 +404,10 @@ async function generateInstallOrders(pkgsToInstall) { softwarePackages ) break - } else { - log('info', 'No Match', `No suitable installation type available for \`${pkg}\``) + } + } else { + if (!comparedCountMax) { + log('info', 'No Match', `There was no match found for ${pkg} - it may be an OS-specific package`) } } }