Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

system unusable in case of not approved xcode license #58

Open
ghost opened this issue Jan 3, 2017 · 3 comments
Open

system unusable in case of not approved xcode license #58

ghost opened this issue Jan 3, 2017 · 3 comments

Comments

@ghost
Copy link

ghost commented Jan 3, 2017

I like your scripts. dots is very easy to use and for me it provides an efficient way to setup my machine. Thank you for it!

However my first experience was not as smooth as it could be. I installed xcode to prepare for this. After that I ran dots and it complained a lot that it could not find brew. Unfortunately it did not stop and left my machine in a unusable state. Only when I attempted to manually install homebrew it told me to approve the xcode license. This is probably a simple improvement but could save a lot of pain for new mac users like me.

Mark

@donnemartin
Copy link
Owner

donnemartin commented Jan 6, 2017

Hi @markfink thanks for the feedback and for reporting this issue.

I think it's odd that it could not find brew, before brew is used it should be installed with this section of brew.sh.

Only when I attempted to manually install homebrew it told me to approve the xcode license

Hmm perhaps you mean osxprep.sh now requires you to have homebrew installed?

Which OS version are you running?

@ghost
Copy link
Author

ghost commented Jan 6, 2017

@donnemartin hmmm, I meant that it was not possible to install brew because I did not approve the xcode license... That was definitely my fault. I just thought that it would be better if your script could just stop if brew is not available. I mean it is not really helpful to change the configuration if the binaries are missing. For example I could not even open a terminal after I ran ./.dots <...>. I think this was because the bash binary was missing and dots changed the login shell to bash anyways.

I run El Capitan 10.11.6

Anyway, I found the workaround and everything works fine now.

@donnemartin
Copy link
Owner

Ah I see, thanks for clearing that up!

I'll see if there's a good way to check for whether the Xcode license has been accepted and where to best put it.

Perhaps a note in the README.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant