Find the character break - sh script
- 
 @DustinB3403 I'd try eliminating the problem line by line, or at least by sections. You also have admin user listed twice in kickstart line, fix that too. 
- 
 @marcinozga that is to apply the user account that I want to have local admin rights  
- 
 @DustinB3403 but why do you have admin there twice? It's a list of users, separated by comma, what you're doing is setting privileges for admin user, and then for admin user again. It doesn't make much sense. 
- 
 Seems to be something with the if statement. Now I just need to figure out what since I haven't touched this part of the script at all. . . Stupid Apple! 
- 
 @DustinB3403 I just ran that if part of the script, and it runs fine. 
- 
 @marcinozga ugh. . When I removed it from the script, the rest of the script at least ran. So now I'm back to square one. . . 
- 
 @DustinB3403 Ok, script fails because brew installation is waiting for input. If you run it directly, it'll ask you to press return to continue. Try changing it like so: ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" </dev/null
- 
 OKAY so I've gone back to the basics at this point and I'm just writing the script over again. @marcinozga thanks for the assistance the 111</dev/null``` doesn't appear to make a difference. 
- 
 OK so while the script works, I'm now hitting the GitHUB API limit. According to homebrew I should be able to authenticate with HOMEBREW_GITHUB_API_TOKEN: A personal access token for the GitHub API, which you can create at https://github.com/settings/tokens. If set, GitHub will allow you a greater number of API requests. See https://developer.github.com/v3/#rate-limiting for more information. Homebrew uses the GitHub API for features such as brew search.so performing echo `export $HOMEBREW_GITHUB_API_TOKEN=XXXXXXXXXXX` >> ~/.bash_profileShould work, but doesn't appear to. Obviously I have something wrong here. 
- 
 @DustinB3403 you need to source .bash_profile after changing it, so bash picks up modified file. Either source ~/.bash_profileor . ~/.bash_profile
- 
 @marcinozga said in Find the character break - sh script: @DustinB3403 you need to source .bash_profile after changing it, so bash picks up modified file. Either source ~/.bash_profileor . ~/.bash_profileThanks for that, I was actually sorting out that bit as you posted. Short of setting up a few printers via the script I'm back in working order. 
