Update .local/share/chezmoi/home/dot_local/bin/executable_install-program

This commit is contained in:
Brian Zalewski 2022-12-05 04:07:59 +00:00
parent c5deda54f4
commit 9edace21f7

View file

@ -127,9 +127,10 @@ async function generateInstallOrders() {
for (const when of whens) { for (const when of whens) {
if (when) { if (when) {
try { try {
await $`${when}` await $when
} catch (e) { } catch (e) {
log('info', 'Skipping Package', `${pkg} is being skipped because of the _when condition`) log('info', 'Skipping Package', `${pkg} is being skipped because of the _when condition`)
continue pkgFor
} }
} }
} }
@ -897,7 +898,7 @@ async function main() {
installData = await downloadInstallData(); installData = await downloadInstallData();
log('info', 'Install Orders', `Calculating the install orders`) log('info', 'Install Orders', `Calculating the install orders`)
await generateInstallOrders(); await generateInstallOrders();
log('info', `Ensuring any package managers that will be used are installed / configured`) log('info', 'Ensure Package Manager Installed', `Ensuring any package managers that will be used are installed / configured`)
const packageManagers = Object.keys(installOrders); const packageManagers = Object.keys(installOrders);
for (const packageManager of packageManagers) { for (const packageManager of packageManagers) {
await ensurePackageManager(packageManager); await ensurePackageManager(packageManager);