diff --git a/home/dot_local/bin/executable_install-program b/home/dot_local/bin/executable_install-program index 5d05c3bf..b014d48f 100644 --- a/home/dot_local/bin/executable_install-program +++ b/home/dot_local/bin/executable_install-program @@ -1800,9 +1800,11 @@ async function pruneInstallOrders(installOrders) { async function installPlugins(pluginData) { if (pluginData.cmd && pluginData.plugins && pluginData.plugins.length) { const pluginWhen = pluginData.when + console.log('Plugin when condition:', pluginWhen) try { - log('info', 'Plugin When', pluginWhen) - runCommand(`Checking when condition for ${pluginData.package} plugin - ${plugin}`, pluginWhen) + if (pluginWhen) { + runCommand(`Checking when condition for ${pluginData.package} plugin - ${plugin}`, pluginWhen) + } for (const plugin of pluginData.plugins) { try { const pluginCmd = pluginData.cmd.replace(/{PLUGIN}/g, plugin)