guarinogabriel / Mac-CLI

 macOS command line tool for developers – The ultimate tool to manage your Mac. It provides a huge set of command line commands that automatize the usage of your Mac.
MIT License
8.88k stars 334 forks source link

/usr/local/bin is not present on a clean macOS/OS X install #105

Closed christopheranderton closed 7 years ago

christopheranderton commented 8 years ago

On a clean install of macOS/OS X, the directory bin (/usr/local/bin) is not present per default. The Mac-CLI installer should check if /usr/local/bin is present, and if not, create the directory in the beginning of the script (Homebrew and others will create the directory if not present, but that's too late).

If not, the installer will output errors of missing directories making some things break.

Pastebin URL to the whole install procedure with errors (and enviroment data): http://pastebin.com/Asj0beYW

Cheers! Keep up the good work!

jbhv12 commented 7 years ago

I have created a new pull request and solved this issue.

guarinogabriel commented 7 years ago

@jbhv12 Thanks for your contribution!