From 7b1f58e002a55b3575fb788c4499581fb5dda418 Mon Sep 17 00:00:00 2001 From: Matt Strapp Date: Mon, 11 Nov 2024 12:02:10 -0600 Subject: Add a brew update Signed-off-by: Matt Strapp --- dot_local/bin/executable_update | 2 ++ 1 file changed, 2 insertions(+) (limited to 'dot_local/bin') diff --git a/dot_local/bin/executable_update b/dot_local/bin/executable_update index 4cc3756..6ab440c 100644 --- a/dot_local/bin/executable_update +++ b/dot_local/bin/executable_update @@ -45,6 +45,7 @@ for i in "$@"; do UPDATED=1 ;; Darwin) + brew update || return 1 brew upgrade -g || return 1 brew cleanup || return 1 UPDATED=1 @@ -82,6 +83,7 @@ if [ -x "$(command -v flatpak)" ]; then fi # Update snaps, if snap is installed +# flatpaks are better (this is not even a hot take) if [ -x "$(command -v snap)" ]; then sudo snap refresh || return 1 UPDATED=1 -- cgit v1.2.3