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