From 801ab9f59e94587a61ac85d96183b48a9a20e82e Mon Sep 17 00:00:00 2001 From: Ryan Watters Date: Wed, 24 May 2017 13:52:34 -0500 Subject: [PATCH] Remove "brew update" from install page Closes rdwatters/hugo-docs-concept#115 --- content/getting-started/installing.md | 16 ++++------------ content/templates/section-templates.md | 2 +- 2 files changed, 5 insertions(+), 13 deletions(-) diff --git a/content/getting-started/installing.md b/content/getting-started/installing.md index a94c61c28..0390c6423 100644 --- a/content/getting-started/installing.md +++ b/content/getting-started/installing.md @@ -44,7 +44,7 @@ If you are on macOS and using [Homebrew][brew], you can install Hugo with the fo {{% code file="install-with-homebrew.sh" %}} ```bash -brew update && brew install hugo +brew install hugo ``` {{% /code %}} @@ -134,15 +134,7 @@ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/ #### Step 2: Run the `brew` Command to Install `hugo` -Whenever installing with Homebrew, it's a good idea to update the formulae and Homebrew itself by running the update command: - -{{% code file="update-brew.sh" %}} -```bash -brew update -``` -{{% /code %}} - -You can then install Hugo using `brew`: +Installing Hugo using `brew` is as easy as the following: {{% code file="install-brew.sh" %}} ```bash @@ -156,7 +148,7 @@ If Homebrew is working properly, you should see something similar to the followi ==> 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 +🍺 /usr/local/Cellar/hugo/0.21: 32 files, 17.4MB ``` {{% note "Installing the Latest Hugo with Brew" %}} @@ -502,4 +494,4 @@ Now that you've installed Hugo, read the [Quick Start guide][quickstart] and exp [releases]: https://github.com/spf13/hugo/releases [snaps]: http://snapcraft.io/docs/core/install [windowsarch]: https://esupport.trendmicro.com/en-us/home/pages/technical-support/1038680.aspx -[Windows Environment Variables Editor]: http://eveditor.com/ \ No newline at end of file +[Windows Environment Variables Editor]: http://eveditor.com/ diff --git a/content/templates/section-templates.md b/content/templates/section-templates.md index ce920714c..7784322f6 100644 --- a/content/templates/section-templates.md +++ b/content/templates/section-templates.md @@ -125,4 +125,4 @@ Which then returns the following: [getpage]: /functions/getpage/ [lists]: /templates/lists/ [lookup]: /templates/lookup-order/ -[where]: /functions/where/ \ No newline at end of file +[where]: /functions/where/