running the brew command on MacOS with sudo will cause errors, th… (#3072)

* running the `brew` command on MacOS with `sudo` will cause errors, this commit removes sudo

* infact no sudo is necessary at all under MacOS, it might even be harmful
This commit is contained in:
Tom J Nowell 2017-07-28 20:01:16 +01:00 committed by Fabian Affolter
parent a2068be2c3
commit 975fb10f63
No known key found for this signature in database
GPG Key ID: DDF3D6F44AAB1336

View File

@ -35,15 +35,15 @@ $ sudo make install
macOS:
```bash
$ sudo brew install libtool
$ sudo brew install autoconf
$ sudo brew install automake
$ brew install libtool
$ brew install autoconf
$ brew install automake
$ git clone --depth 1 --recursive -b dtls https://github.com/home-assistant/libcoap.git
$ cd libcoap
$ ./autogen.sh
$ ./configure --disable-documentation --disable-shared --without-debug CFLAGS="-D COAP_DEBUG_FD=stderr"
$ make
$ sudo make install
$ make install
```
You will be prompted to configure the gateway through the Home Assistant interface, Enter the security key when prompted and click configure