From ac3989d266855e25348e5b39a53a30f480bb0dbe Mon Sep 17 00:00:00 2001 From: Brian Zalewski <59970525+ProfessorManhattan@users.noreply.github.com> Date: Thu, 7 Dec 2023 07:48:50 +0000 Subject: [PATCH] Latest --- home/dot_local/bin/executable_install-program | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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)