Browse Source

tweak more brew options for security

Kyle P Davis 7 years ago
parent
commit
3e306a7257
1 changed files with 2 additions and 1 deletions
  1. 2 1
      .profile

+ 2 - 1
.profile

@@ -18,7 +18,8 @@ if [ "$OS" = "Darwin" ]; then
 	BREW_BIN=$(which brew)
 	BREW_BIN=$(which brew)
 	BREW_PREFIX=$(which brew &>/dev/null  &&  brew --prefix  ||  echo "")
 	BREW_PREFIX=$(which brew &>/dev/null  &&  brew --prefix  ||  echo "")
 	if [ "$BREW_BIN" ]; then
 	if [ "$BREW_BIN" ]; then
-		export HOMEBREW_CASK_OPTS="--caskroom=$BREW_PREFIX/Caskroom --appdir=$HOME/Applications"
+		export HOMEBREW_CASK_OPTS="--appdir=$HOME/Applications --require-sha"
+		export HOMEBREW_NO_INSECURE_REDIRECT=1
 	fi
 	fi
 fi
 fi