From 99412bfe45609d3a76d5ef19f612b12d0aac1ec6 Mon Sep 17 00:00:00 2001 From: Albert Nigmatzianov Date: Wed, 24 May 2017 18:57:27 +0200 Subject: [PATCH] docs: Delete `brew update` from docs Fix #3518 --- docs/content/overview/installing.md | 2 +- docs/content/tutorials/installing-on-mac.md | 24 +++++++++------------ docs/layouts/index.html | 2 +- 3 files changed, 12 insertions(+), 16 deletions(-) diff --git a/docs/content/overview/installing.md b/docs/content/overview/installing.md index 337c45adf..0ab8b03ee 100644 --- a/docs/content/overview/installing.md +++ b/docs/content/overview/installing.md @@ -37,7 +37,7 @@ Ideally, you should install it somewhere in your `PATH` for easy use. `/usr/local/bin` is the most probable location. On macOS, if you have [Homebrew](http://brew.sh/), installation is even -easier: just run `brew update && brew install hugo`. +easier: just run `brew install hugo`. For a more detailed explanation follow the corresponding installation guides: diff --git a/docs/content/tutorials/installing-on-mac.md b/docs/content/tutorials/installing-on-mac.md index f7cb9a745..ce3a8b74c 100644 --- a/docs/content/tutorials/installing-on-mac.md +++ b/docs/content/tutorials/installing-on-mac.md @@ -60,26 +60,22 @@ When I did this, I had some problems with directory permissions. Searches on Goo ### Step 2: Run the `brew` command to install `hugo` -First, update the formulae and Homebrew itself by running: - -```bash -$ brew update -``` - -Then, install Hugo using Homebrew by running: - - ```bash $ brew install hugo -==> Downloading https://homebrew.bintray.com/bottles/hugo-0.13_1.yosemite.bottle.tar.gz -######################################################################## 100.0% -==> Pouring hugo-0.13_1.yosemite.bottle.tar.gz -🍺 /usr/local/Cellar/hugo/0.13_1: 4 files, 14M +==> Downloading https://homebrew.bintray.com/bottles/hugo-0.21.sierra.bottle.tar.gz +######################################################################## 100,0% +==> Pouring hugo-0.21.sierra.bottle.tar.gz +==> Using the sandbox +==> Caveats +Bash completion has been installed to: + /usr/local/etc/bash_completion.d +==> Summary +🍺 /usr/local/Cellar/hugo/0.21: 32 files, 17.4MB ``` (Note: Replace `brew install hugo` with `brew install hugo --HEAD` if you want the absolute latest version in development, -but beware—there might be bugs!) +but beware — there might be bugs!) `Brew` should have updated your path to include Hugo. Confirm by opening a new terminal window and running a few commands: diff --git a/docs/layouts/index.html b/docs/layouts/index.html index 9ddf4a874..484c6a1d8 100644 --- a/docs/layouts/index.html +++ b/docs/layouts/index.html @@ -254,7 +254,7 @@

 

Using Homebrew?

-
brew update && brew install hugo
+
brew install hugo
{{ "" | safeHTML }}