From 2640964cb87ce4cc48282ba335216f3888941c08 Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Thu, 6 Feb 2020 21:20:58 +0000 Subject: [PATCH] Update and fix bitbar scripts --- bitbar/brew-services.10m.rb | 2 +- bitbar/brew-updates.1h.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bitbar/brew-services.10m.rb b/bitbar/brew-services.10m.rb index ddea3c2..01322b2 100755 --- a/bitbar/brew-services.10m.rb +++ b/bitbar/brew-services.10m.rb @@ -22,7 +22,7 @@ require 'pathname' SCRIPT_PATH = Pathname.new($0).realpath() BREW = "/usr/local/bin/brew" BREW_LINK = "http://brew.sh/" -BREW_SERVICES = "/usr/local/Homebrew/Library/Taps/homebrew/homebrew-services/cmd/brew-services.rb" +BREW_SERVICES = "/usr/local/Homebrew/Library/Taps/homebrew/homebrew-services/cmd/services.rb" BREW_SERVICES_LINK = "https://github.com/Homebrew/homebrew-services" REFRESH = "---\nRefresh | refresh=true" diff --git a/bitbar/brew-updates.1h.sh b/bitbar/brew-updates.1h.sh index a2d7a5d..9c70532 100755 --- a/bitbar/brew-updates.1h.sh +++ b/bitbar/brew-updates.1h.sh @@ -9,7 +9,7 @@ exit_with_error() { exit 1; } -/usr/local/bin/brew update > /dev/null || exit_with_error; +/usr/local/bin/brew update > /dev/null #|| exit_with_error; PINNED=$(/usr/local/bin/brew list --pinned); OUTDATED=$(/usr/local/bin/brew outdated --quiet);