mirror of
https://github.com/jimeh/dotfiles.git
synced 2026-02-19 13:46:41 +00:00
Fix bitbar homebrew scripts
This commit is contained in:
@@ -27,7 +27,7 @@ main() {
|
|||||||
current_version+=("${BASH_REMATCH[2]}")
|
current_version+=("${BASH_REMATCH[2]}")
|
||||||
new_version+=("${BASH_REMATCH[3]}")
|
new_version+=("${BASH_REMATCH[3]}")
|
||||||
fi
|
fi
|
||||||
done < <(/usr/local/bin/brew cask outdated -v)
|
done < <(/usr/local/bin/brew cask outdated --verbose)
|
||||||
|
|
||||||
count="${#formulas[@]}"
|
count="${#formulas[@]}"
|
||||||
|
|
||||||
|
|||||||
@@ -44,7 +44,7 @@ main() {
|
|||||||
new_version+=("${BASH_REMATCH[3]}")
|
new_version+=("${BASH_REMATCH[3]}")
|
||||||
pinned_version+=("NONE")
|
pinned_version+=("NONE")
|
||||||
fi
|
fi
|
||||||
done < <(/usr/local/bin/brew outdated -v)
|
done < <(/usr/local/bin/brew outdated --verbose)
|
||||||
|
|
||||||
pinned_list="$(printf '%s\n' "${pinned[@]}" | sort)"
|
pinned_list="$(printf '%s\n' "${pinned[@]}" | sort)"
|
||||||
formulas_list="$(printf '%s\n' "${formulas[@]}" | sort)"
|
formulas_list="$(printf '%s\n' "${formulas[@]}" | sort)"
|
||||||
|
|||||||
Reference in New Issue
Block a user