aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbrew.sh8
1 files changed, 1 insertions, 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