From 74d1e918de3e26954e63ce3a533dba834b9ceb8a Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Mon, 3 Aug 2020 14:54:24 +0100 Subject: [PATCH] Fix bitbar homebrew scripts --- bitbar/brew-cask-upgrades.1h.sh | 2 +- bitbar/brew-upgrades.1h.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bitbar/brew-cask-upgrades.1h.sh b/bitbar/brew-cask-upgrades.1h.sh index 81e8c87..8cdbd6b 100755 --- a/bitbar/brew-cask-upgrades.1h.sh +++ b/bitbar/brew-cask-upgrades.1h.sh @@ -27,7 +27,7 @@ main() { current_version+=("${BASH_REMATCH[2]}") new_version+=("${BASH_REMATCH[3]}") fi - done < <(/usr/local/bin/brew cask outdated -v) + done < <(/usr/local/bin/brew cask outdated --verbose) count="${#formulas[@]}" diff --git a/bitbar/brew-upgrades.1h.sh b/bitbar/brew-upgrades.1h.sh index 66c8ffe..ac4226d 100755 --- a/bitbar/brew-upgrades.1h.sh +++ b/bitbar/brew-upgrades.1h.sh @@ -44,7 +44,7 @@ main() { new_version+=("${BASH_REMATCH[3]}") pinned_version+=("NONE") fi - done < <(/usr/local/bin/brew outdated -v) + done < <(/usr/local/bin/brew outdated --verbose) pinned_list="$(printf '%s\n' "${pinned[@]}" | sort)" formulas_list="$(printf '%s\n' "${formulas[@]}" | sort)"