diff options
author | Matt Strapp <matt@mattstrapp.net> | 2024-11-11 12:02:10 -0600 |
---|---|---|
committer | Matt Strapp <matt@mattstrapp.net> | 2024-11-11 12:02:10 -0600 |
commit | 7b1f58e002a55b3575fb788c4499581fb5dda418 (patch) | |
tree | 2a796a1f57252ee2fbf6d750b840e2d218141a30 | |
parent | Add update script (diff) | |
download | dotfiles-7b1f58e002a55b3575fb788c4499581fb5dda418.tar dotfiles-7b1f58e002a55b3575fb788c4499581fb5dda418.tar.gz dotfiles-7b1f58e002a55b3575fb788c4499581fb5dda418.tar.bz2 dotfiles-7b1f58e002a55b3575fb788c4499581fb5dda418.tar.lz dotfiles-7b1f58e002a55b3575fb788c4499581fb5dda418.tar.xz dotfiles-7b1f58e002a55b3575fb788c4499581fb5dda418.tar.zst dotfiles-7b1f58e002a55b3575fb788c4499581fb5dda418.zip |
Add a brew update
Signed-off-by: Matt Strapp <matt@mattstrapp.net>
Diffstat (limited to '')
-rw-r--r-- | dot_local/bin/executable_update | 2 |
1 files changed, 2 insertions, 0 deletions
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 |