|
|
@ -41,7 +41,7 @@ done
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
function install_macos(){
|
|
|
|
function install_macos(){
|
|
|
|
if [ ! command -v brew &> /dev/null ]; then
|
|
|
|
if [ -z "$(command -v brew)" ]; then
|
|
|
|
NONINTERACTIVE=1 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
|
|
|
|
NONINTERACTIVE=1 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
|
|
|
|
if [[ uname -m == "x86_64" ]]; then
|
|
|
|
if [[ uname -m == "x86_64" ]]; then
|
|
|
|
echo "export PATH=/usr/local/bin:$PATH" >> ~/.bash_profile && source ~/.bash_profile
|
|
|
|
echo "export PATH=/usr/local/bin:$PATH" >> ~/.bash_profile && source ~/.bash_profile
|
|
|
|