From 4013da3128e1973c389486ecadc3904d8ce4c7ea Mon Sep 17 00:00:00 2001 From: Lionell Date: Wed, 1 Jul 2020 21:45:47 +0800 Subject: [PATCH] license-bl: new blacklist env var --- Library/Homebrew/env_config.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Library/Homebrew/env_config.rb b/Library/Homebrew/env_config.rb index 108218aed0..7f613779fb 100644 --- a/Library/Homebrew/env_config.rb +++ b/Library/Homebrew/env_config.rb @@ -111,6 +111,10 @@ module Homebrew description: "Output this many lines of output on formula `system` failures.", default: 15, }, + HOMEBREW_FORBIDDEN_LICENSES: { + description: "Use this environment variable to define a blacklist of space separated licenses and Homebrew " \ + "will avoid installing the packages with those licenses.", + }, HOMEBREW_FORCE_BREWED_CURL: { description: "If set, always use a Homebrew-installed `curl`(1) rather than the system version. " \ "Automatically set if the system version of `curl` is too old.",