From 5689fa8c011b1a5428a82a981737a5e3878a0cd1 Mon Sep 17 00:00:00 2001 From: Mathias Bynens Date: Fri, 8 Apr 2016 07:36:31 +0200 Subject: brew.sh: Remove useless use of `sudo` Thanks to @jonnybarnes for spotting this. Closes #647. --- brew.sh | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/brew.sh b/brew.sh index d6cdbd8..fd807d9 100755 --- a/brew.sh +++ b/brew.sh @@ -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 @@ -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 -- cgit v1.2.3