Update file executable_install-program

This commit is contained in:
Brian Zalewski 2022-12-25 11:28:08 +00:00
parent 5c4e42c7d7
commit 1aa95df887

View file

@ -356,7 +356,7 @@ async function updateInstallMaps(preference, packages, scopedPreference, pkg, pa
log('info', 'Install Orders', `Found a match for the package \`${pkg}\` (${packageKey} via ${scopedPreference})`) log('info', 'Install Orders', `Found a match for the package \`${pkg}\` (${packageKey} via ${scopedPreference})`)
const newPackages = packages[scopedPreference] const newPackages = packages[scopedPreference]
const newPkgs = typeof newPackages === 'string' ? [newPackages] : newPackages const newPkgs = typeof newPackages === 'string' ? [newPackages] : newPackages
if (preference === 'snap' && softwarePackages['_snapClassic'] === true) { if (preference === 'snap' && softwarePackages[pkg]['_snapClassic'] === true) {
if (!installOrders[preference + '-classic']) { if (!installOrders[preference + '-classic']) {
installOrders[preference + '-classic'] = [] installOrders[preference + '-classic'] = []
} }