Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changes from Homebrew 2.7 release on 2020-12-01 #10

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions scripts/package/update_all
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ brew outdated | xargs -n1 brew upgrade

echo ''
echo '🍻 Updating Brew Cask apps'
OUTDATED_CASKS=$(brew cask outdated)
OUTDATED_CASKS=$(brew outdated --cask --greedy --quiet)

if [ -n "$OUTDATED_CASKS" ]; then
echo "$OUTDATED_CASKS" | grep -v real-vnc | xargs -n1 brew cask install --force
echo "$OUTDATED_CASKS" | grep -v real-vnc | xargs -n1 brew install --cask --force
echo '✅ Casks updated'
else
echo '✅ Casks already up-to-date'
Expand Down Expand Up @@ -61,7 +61,7 @@ if [ "${1-none}" == "--all" ]; then

echo ''
echo '🐍 Updating Pip (Python)'
pip freeze --local | grep -v '^\-e' | cut -d = -f 1 | xargs -n1 pip install -U
pip list --outdated --format=freeze | grep -v '^\-e' | cut -d = -f 1 | xargs -n1 pip install -U

echo ''
echo '♦️ Updating gem (Ruby)'
Expand Down