diff --git a/Library/Homebrew/download_strategy.rb b/Library/Homebrew/download_strategy.rb index 24128f6b29..ff75d82629 100644 --- a/Library/Homebrew/download_strategy.rb +++ b/Library/Homebrew/download_strategy.rb @@ -258,6 +258,7 @@ class CurlDownloadStrategy < AbstractDownloadStrategy def curl(*args) args << '--connect-timeout' << '5' unless mirrors.empty? + args << "--user" << meta.fetch(:user) if meta.key?(:user) super end @@ -415,13 +416,6 @@ class S3DownloadStrategy < CurlDownloadStrategy end end -class AttResearchDownloadStrategy < CurlDownloadStrategy - def curl(*args) - args << "--user" << "I accept www.opensource.org/licenses/eclipse:." - super - end -end - class SubversionDownloadStrategy < VCSDownloadStrategy def initialize(name, resource) super