Skip to content

Commit

Permalink
feat: add --verbose option to brew upgrade (#50)
Browse files Browse the repository at this point in the history
a slow connection can otherwise make output overly static

Signed-off-by: Lucas Larson <LucasLarson@riseup.net>
  • Loading branch information
LucasLarson committed Feb 4, 2024
1 parent ebfcd2f commit a2b4363
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions update
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env sh
update='2024-02-05'
update='2024-02-06'
command -p -- printf -- '\n\n .___ __\n __ ________ __\174 _\057____ _\057 \174_ ____\n\174 \174 \134____ \134 \057 __ \174\134__ \134\134 __\134\057 __ \134\n\174 \174 \057 \174_\076 \076 \057_\057 \174 \057 __ \134\174 \174 \134 ___\057\n\174____\057\174 __\057\134____ \174\050____ \057__\174 \134___ \076\n \174__\174 \134\057 \134\057 \134\057\n a Lucas Larson production\n\n' >&2 && command -p -- sleep 1
command -p -- printf -- '\360\237\223\241 verifying network connectivity' >&2
command -p -- sleep 1
Expand Down Expand Up @@ -29,10 +29,10 @@ if command -v -- brew >/dev/null 2>&1; then
command -p -- printf -- '\360\237\215\272 checking for Homebrew updates...\n' >&2
command brew update
command defaults export com.apple.dock "${TMPDIR:-${TMPPREFIX:-/tmp}}"'/.com.apple.dock.plist' >/dev/null 2>&1 && {
command brew upgrade --cask --greedy
command brew upgrade --cask --greedy --verbose
command defaults import com.apple.dock "${TMPDIR:-${TMPPREFIX:-/tmp}}"'/.com.apple.dock.plist' 2>/dev/null && command killall -z -- Dock 2>/dev/null
}
command brew upgrade --greedy
command brew upgrade --greedy --verbose
command brew install --debug --display-times --git --HEAD --verbose -- git
command brew install --debug --display-times --git --HEAD --verbose -- mackup
command brew install --debug --display-times --git --HEAD --verbose -- shellcheck
Expand Down

0 comments on commit a2b4363

Please sign in to comment.