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 | |
# Update brew repo. | |
printf "%s" "Updating brew repo..." | |
brew update &> /dev/null | |
echo "✅" | |
# Get the currently installed and new version of nghttp2. | |
printf "%s" "Fetch installed and stable nghttp2 versions..." | |
VERSION_INSTALLED="$(brew list --versions | grep nghttp2 | awk '{print $2}')" |