Skip to content

Commit

Permalink
Update Homebrew installer to Bash
Browse files Browse the repository at this point in the history
Ruby version of Homebrew installer marked as deprecated
  • Loading branch information
ghaiklor authored Mar 16, 2020
1 parent bbeb414 commit 023ed69
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ trap on_sigterm SIGKILL SIGTERM

TEMP_DIR=$(mktemp -d)
GITHUB_REPO_URL_BASE="https://github.com/ghaiklor/iterm-fish-fisher-osx/"
HOMEBREW_INSTALLER_URL="https://raw.githubusercontent.com/Homebrew/install/master/install"
HOMEBREW_INSTALLER_URL="https://raw.githubusercontent.com/Homebrew/install/master/install.sh"
COLOR_SCHEME_URL="https://raw.githubusercontent.com/MartinSeeler/iterm2-material-design/master/material-design-colors.itermcolors"
NERD_FONT_URL="https://github.com/ryanoasis/nerd-fonts/blob/25eec835188d2316ef3fe59820950d9f90c5bcf4/patched-fonts/Meslo/M-DZ/Regular/complete/Meslo%20LG%20M%20DZ%20Regular%20Nerd%20Font%20Complete%20Mono.ttf?raw=true"
FISHERMAN_URL="https://git.io/fisher"
Expand Down Expand Up @@ -124,7 +124,7 @@ function install_homebrew() {
blue_color
echo "Installing Homebrew..."

ruby -e "$(curl -fsSL ${HOMEBREW_INSTALLER_URL})"
/bin/bash -c "$(curl -fsSL ${HOMEBREW_INSTALLER_URL})"
brew update
brew upgrade

Expand Down

0 comments on commit 023ed69

Please sign in to comment.