Skip to content

Commit

Permalink
update macos
Browse files Browse the repository at this point in the history
  • Loading branch information
admercs committed Mar 11, 2024
1 parent cb89cac commit 246f0ca
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions scripts/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -102,17 +102,15 @@ done
if [ "$(uname)" = 'Darwin' ]; then
echo 'Installing dependencies...'
# Reinstall Homebrew
sudo rm -rf \
/Users/runner/Library/Caches/Homebrew/ \
/Users/runner/Library/Logs/Homebrew/ \
/usr/local/Caskroom/ \
/usr/local/Cellar/ \
/usr/local/bin
NONINTERACTIVE=1 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
(echo; echo 'eval "$(/usr/local/bin/brew shellenv)"') >> "${HOME}/.bash_profile"
eval "$(/usr/local/bin/brew shellenv)"
# eval "$(/opt/homebrew/bin/brew shellenv)"
# export PATH="/usr/local/bin:${PATH}"
# sudo rm -rf \
# /Users/runner/Library/Caches/Homebrew/ \
# /Users/runner/Library/Logs/Homebrew/ \
# /usr/local/Caskroom/ \
# /usr/local/Cellar/ \
# /usr/local/bin
# NONINTERACTIVE=1 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
# (echo; echo 'eval "$(/usr/local/bin/brew shellenv)"') >> "${HOME}/.bash_profile"
# eval "$(/usr/local/bin/brew shellenv)"
# brew update
# brew upgrade
brew install curl
Expand Down

0 comments on commit 246f0ca

Please sign in to comment.