forked from colonelpanic/dotfiles
Add xcode-select --install to start.sh
This commit is contained in:
parent
3fffe726ff
commit
927ca5aaa6
9
start.sh
9
start.sh
@ -20,13 +20,8 @@ function brew_for_multiple_users() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function osx() {
|
function osx() {
|
||||||
hash gcc &>/dev/null
|
xcode-select --install
|
||||||
if [ $? -ne 0 ]
|
hash brew &>/dev/null && echo "brew found" || ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
|
||||||
then
|
|
||||||
echo "gcc not found."
|
|
||||||
exit
|
|
||||||
fi
|
|
||||||
hash brew &>/dev/null && echo "brew found" || ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
|
|
||||||
brew_for_multiple_users
|
brew_for_multiple_users
|
||||||
brew update
|
brew update
|
||||||
brew install git
|
brew install git
|
||||||
|
Loading…
Reference in New Issue
Block a user