pkill37 / linuxify

🍏🐧 Transparently transform the macOS CLI into a fresh GNU/Linux CLI experience.
MIT License
888 stars 69 forks source link

Check that /usr/local/{bin,sbin} exist and are writeable #21

Closed pianohacker closed 4 years ago

pkill37 commented 4 years ago

Thank you!

Why wouldn't they exist or be writeable?

pianohacker commented 4 years ago

/usr/local/sbin specifically did not exist on either of the Macs I tried this script on; I did bin for completeness.

(Thanks for this tool, by the way! Works a treat.)

pkill37 commented 4 years ago

More importantly, did the script initially fail because of this?

pianohacker commented 4 years ago

Yes; while installing openssh, it tries to install sshd to /usr/local/sbin and fails.

pkill37 commented 4 years ago

Hmm, I don't recall ever running into this, but I guess it wouldn't hurt to add this either. I'll let this sink in for a bit before merging.