client
client copied to clipboard
Fix missing symlinks on MacOS
This is related to an old issue: https://github.com/keybase/client/issues/3627 that is still present today
When installing the Keybase client, it attempts to symlink keybase and git-remote-keybase to /usr/local/bin. On MacOS this directory is write-protected and the operation fails.
This PR attempts to make a change so that the installer will try to run sudo using sh -c ... if the directory is not writeable by us.
@chrisnojima can you review this PR?
The workaround isn't very easy to find (the linked GH issue) and not having this makes the CLI unusable on a MacOS install.