Last active
June 25, 2019 16:55
-
-
Save mos3abof/41ed52a169696f33318a6111e8f048b7 to your computer and use it in GitHub Desktop.
Fix qt @ version 5.5, after an accidental brew upgrade
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
cd $( brew --prefix )/Homebrew/Library/Taps/homebrew/homebrew-core/Formula | |
if [[ -e qt@5.5.rb ]]; then | |
mv qt@5.5.rb qt@5.5.rb.bkp | |
fi | |
wget -q https://raw.githubusercontent.com/Homebrew/homebrew-core/9ba3d6ef8891e5c15dbdc9333f857b13711d4e97/Formula/qt@5.5.rb | |
# delete line 25 | |
sed '25d' Formula/qt@5.5.rb | tee > Formula/qt@5.5.rb | |
brew install qt@5.5 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment