Skip to content

Commit

Permalink
brew.sh: Remove useless use of sudo
Browse files Browse the repository at this point in the history
Thanks to @jonnybarnes for spotting this.

Closes mathiasbynens#647.
  • Loading branch information
mathiasbynens committed Apr 9, 2016
1 parent 2661c9b commit 5689fa8
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions brew.sh
Expand Up @@ -2,12 +2,6 @@

# Install command-line tools using Homebrew.

# Ask for the administrator password upfront.
sudo -v

# Keep-alive: update existing `sudo` time stamp until the script has finished.
while true; do sudo -n true; sleep 60; kill -0 "$$" || exit; done 2>/dev/null &

# Make sure we’re using the latest Homebrew.
brew update

Expand All @@ -17,7 +11,7 @@ brew upgrade --all
# Install GNU core utilities (those that come with OS X are outdated).
# Don’t forget to add `$(brew --prefix coreutils)/libexec/gnubin` to `$PATH`.
brew install coreutils
sudo ln -s /usr/local/bin/gsha256sum /usr/local/bin/sha256sum
ln -s /usr/local/bin/gsha256sum /usr/local/bin/sha256sum

# Install some other useful utilities like `sponge`.
brew install moreutils
Expand Down

0 comments on commit 5689fa8

Please sign in to comment.