From f4102815d614c7860cbfebef61b75506df202cf1 Mon Sep 17 00:00:00 2001 From: Brian Zalewski Date: Tue, 18 Apr 2023 06:18:00 +0000 Subject: [PATCH] Update 2 files - /home/.chezmoidata.yaml - /home/dot_local/bin/executable_install-program --- home/.chezmoidata.yaml | 3 ++- home/dot_local/bin/executable_install-program | 6 +++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/home/.chezmoidata.yaml b/home/.chezmoidata.yaml index 695b8e60..34cb1faa 100644 --- a/home/.chezmoidata.yaml +++ b/home/.chezmoidata.yaml @@ -572,7 +572,6 @@ softwareGroups: Misc-Desktop: &Misc-Desktop - _misc-flatpaks - _nautilus-extensions - - cerebro - clocker - cumulus - edex-ui @@ -1069,6 +1068,8 @@ softwareGroups: # Opens persistent menu icon on GNOME and has issues that sometimes require switching the virt driver - multipass - monero + # macOS system search more native way of providing similar features --- explore leveraging this on Linux + - cerebro - catfs - lzop - mas diff --git a/home/dot_local/bin/executable_install-program b/home/dot_local/bin/executable_install-program index a926313c..e0cf4489 100644 --- a/home/dot_local/bin/executable_install-program +++ b/home/dot_local/bin/executable_install-program @@ -747,7 +747,11 @@ async function beforeInstall(packageManager) { } else if (packageManager === 'brew' || packageManager === 'cask') { if (!brewUpdated) { brewUpdated = true - runCommand('Running brew update', `brew update`) + try { + runCommand('Running brew update', `brew update`) + } catch (e) { + log('error', 'Homebrew', 'Failed while running brew update') + } } } else if (packageManager === 'cargo') { } else if (packageManager === 'choco') {