Explorar o código

tweak more brew options for security

Kyle P Davis %!s(int64=8) %!d(string=hai) anos
pai
achega
3e306a7257
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      .profile

+ 2 - 1
.profile

@@ -18,7 +18,8 @@ if [ "$OS" = "Darwin" ]; then
 	BREW_BIN=$(which brew)
 	BREW_PREFIX=$(which brew &>/dev/null  &&  brew --prefix  ||  echo "")
 	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