Use HOMEBREW_ACCEPT_EULA for Homebrew 1.4+ compatibility (#85)

This commit is contained in:
David Engel 2022-09-20 15:37:12 -07:00 коммит произвёл GitHub
Родитель 15c49f0de3
Коммит f03c368c91
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
26 изменённых файлов: 52 добавлений и 52 удалений

Просмотреть файл

@ -14,7 +14,7 @@ class Msodbcsql17AT171011 < Formula
depends_on "openssl"
def check_eula_acceptance?
if ENV["ACCEPT_EULA"] != "y" && ENV["ACCEPT_EULA"] != "Y"
if ENV["HOMEBREW_ACCEPT_EULA"] != "y" && ENV["HOMEBREW_ACCEPT_EULA"] != "Y"
puts "The license terms for this product can be downloaded from"
puts "https://aka.ms/odbc17eula and found in"
puts "#{prefix}/share/doc/msodbcsql17/LICENSE.txt . By entering 'YES',"
@ -35,7 +35,7 @@ class Msodbcsql17AT171011 < Formula
else
puts "Installation terminated: Could not prompt for license acceptance."
puts "If you are performing an unattended installation, you may set"
puts "ACCEPT_EULA to Y to indicate your acceptance of the license terms."
puts "HOMEBREW_ACCEPT_EULA to Y to indicate your acceptance of the license terms."
return false
end
end

Просмотреть файл

@ -13,7 +13,7 @@ class Msodbcsql17AT17311 < Formula
depends_on "openssl"
def check_eula_acceptance?
if ENV["ACCEPT_EULA"] != "y" && ENV["ACCEPT_EULA"] != "Y"
if ENV["HOMEBREW_ACCEPT_EULA"] != "y" && ENV["HOMEBREW_ACCEPT_EULA"] != "Y"
puts "The license terms for this product can be downloaded from"
puts "https://aka.ms/odbc17eula and found in"
puts "/usr/local/share/doc/msodbcsql17/LICENSE.txt . By entering 'YES',"
@ -34,7 +34,7 @@ class Msodbcsql17AT17311 < Formula
else
puts "Installation terminated: Could not prompt for license acceptance."
puts "If you are performing an unattended installation, you may set"
puts "ACCEPT_EULA to Y to indicate your acceptance of the license terms."
puts "HOMEBREW_ACCEPT_EULA to Y to indicate your acceptance of the license terms."
return false
end
end

Просмотреть файл

@ -13,7 +13,7 @@ class Msodbcsql17AT17411 < Formula
depends_on "openssl"
def check_eula_acceptance?
if ENV["ACCEPT_EULA"] != "y" && ENV["ACCEPT_EULA"] != "Y"
if ENV["HOMEBREW_ACCEPT_EULA"] != "y" && ENV["HOMEBREW_ACCEPT_EULA"] != "Y"
puts "The license terms for this product can be downloaded from"
puts "https://aka.ms/odbc17eula and found in"
puts "/usr/local/share/doc/msodbcsql17/LICENSE.txt . By entering 'YES',"
@ -34,7 +34,7 @@ class Msodbcsql17AT17411 < Formula
else
puts "Installation terminated: Could not prompt for license acceptance."
puts "If you are performing an unattended installation, you may set"
puts "ACCEPT_EULA to Y to indicate your acceptance of the license terms."
puts "HOMEBREW_ACCEPT_EULA to Y to indicate your acceptance of the license terms."
return false
end
end

Просмотреть файл

@ -14,7 +14,7 @@ class Msodbcsql17AT17421 < Formula
depends_on "openssl"
def check_eula_acceptance?
if ENV["ACCEPT_EULA"] != "y" && ENV["ACCEPT_EULA"] != "Y"
if ENV["HOMEBREW_ACCEPT_EULA"] != "y" && ENV["HOMEBREW_ACCEPT_EULA"] != "Y"
puts "The license terms for this product can be downloaded from"
puts "https://aka.ms/odbc17eula and found in"
puts "/usr/local/share/doc/msodbcsql17/LICENSE.txt . By entering 'YES',"
@ -35,7 +35,7 @@ class Msodbcsql17AT17421 < Formula
else
puts "Installation terminated: Could not prompt for license acceptance."
puts "If you are performing an unattended installation, you may set"
puts "ACCEPT_EULA to Y to indicate your acceptance of the license terms."
puts "HOMEBREW_ACCEPT_EULA to Y to indicate your acceptance of the license terms."
return false
end
end

Просмотреть файл

@ -14,7 +14,7 @@ class Msodbcsql17AT17511 < Formula
depends_on "openssl"
def check_eula_acceptance?
if ENV["ACCEPT_EULA"] != "y" && ENV["ACCEPT_EULA"] != "Y"
if ENV["HOMEBREW_ACCEPT_EULA"] != "y" && ENV["HOMEBREW_ACCEPT_EULA"] != "Y"
puts "The license terms for this product can be downloaded from"
puts "https://aka.ms/odbc17eula and found in"
puts "/usr/local/share/doc/msodbcsql17/LICENSE.txt . By entering 'YES',"
@ -35,7 +35,7 @@ class Msodbcsql17AT17511 < Formula
else
puts "Installation terminated: Could not prompt for license acceptance."
puts "If you are performing an unattended installation, you may set"
puts "ACCEPT_EULA to Y to indicate your acceptance of the license terms."
puts "HOMEBREW_ACCEPT_EULA to Y to indicate your acceptance of the license terms."
return false
end
end

Просмотреть файл

@ -14,7 +14,7 @@ class Msodbcsql17AT17521 < Formula
depends_on "openssl"
def check_eula_acceptance?
if ENV["ACCEPT_EULA"] != "y" && ENV["ACCEPT_EULA"] != "Y"
if ENV["HOMEBREW_ACCEPT_EULA"] != "y" && ENV["HOMEBREW_ACCEPT_EULA"] != "Y"
puts "The license terms for this product can be downloaded from"
puts "https://aka.ms/odbc17eula and found in"
puts "/usr/local/share/doc/msodbcsql17/LICENSE.txt . By entering 'YES',"
@ -35,7 +35,7 @@ class Msodbcsql17AT17521 < Formula
else
puts "Installation terminated: Could not prompt for license acceptance."
puts "If you are performing an unattended installation, you may set"
puts "ACCEPT_EULA to Y to indicate your acceptance of the license terms."
puts "HOMEBREW_ACCEPT_EULA to Y to indicate your acceptance of the license terms."
return false
end
end

Просмотреть файл

@ -14,7 +14,7 @@ class Msodbcsql17AT17611 < Formula
depends_on "openssl"
def check_eula_acceptance?
if ENV["ACCEPT_EULA"] != "y" && ENV["ACCEPT_EULA"] != "Y"
if ENV["HOMEBREW_ACCEPT_EULA"] != "y" && ENV["HOMEBREW_ACCEPT_EULA"] != "Y"
puts "The license terms for this product can be downloaded from"
puts "https://aka.ms/odbc17eula and found in"
puts "/usr/local/share/doc/msodbcsql17/LICENSE.txt . By entering 'YES',"
@ -35,7 +35,7 @@ class Msodbcsql17AT17611 < Formula
else
puts "Installation terminated: Could not prompt for license acceptance."
puts "If you are performing an unattended installation, you may set"
puts "ACCEPT_EULA to Y to indicate your acceptance of the license terms."
puts "HOMEBREW_ACCEPT_EULA to Y to indicate your acceptance of the license terms."
return false
end
end

Просмотреть файл

@ -14,7 +14,7 @@ class Msodbcsql17AT17711 < Formula
depends_on "openssl"
def check_eula_acceptance?
if ENV["ACCEPT_EULA"] != "y" && ENV["ACCEPT_EULA"] != "Y"
if ENV["HOMEBREW_ACCEPT_EULA"] != "y" && ENV["HOMEBREW_ACCEPT_EULA"] != "Y"
puts "The license terms for this product can be downloaded from"
puts "https://aka.ms/odbc17eula and found in"
puts "/usr/local/share/doc/msodbcsql17/LICENSE.txt . By entering 'YES',"
@ -35,7 +35,7 @@ class Msodbcsql17AT17711 < Formula
else
puts "Installation terminated: Could not prompt for license acceptance."
puts "If you are performing an unattended installation, you may set"
puts "ACCEPT_EULA to Y to indicate your acceptance of the license terms."
puts "HOMEBREW_ACCEPT_EULA to Y to indicate your acceptance of the license terms."
return false
end
end

Просмотреть файл

@ -14,7 +14,7 @@ class Msodbcsql17AT17721 < Formula
depends_on "openssl"
def check_eula_acceptance?
if ENV["ACCEPT_EULA"] != "y" && ENV["ACCEPT_EULA"] != "Y"
if ENV["HOMEBREW_ACCEPT_EULA"] != "y" && ENV["HOMEBREW_ACCEPT_EULA"] != "Y"
puts "The license terms for this product can be downloaded from"
puts "https://aka.ms/odbc17eula and found in"
puts "/usr/local/share/doc/msodbcsql17/LICENSE.txt . By entering 'YES',"
@ -35,7 +35,7 @@ class Msodbcsql17AT17721 < Formula
else
puts "Installation terminated: Could not prompt for license acceptance."
puts "If you are performing an unattended installation, you may set"
puts "ACCEPT_EULA to Y to indicate your acceptance of the license terms."
puts "HOMEBREW_ACCEPT_EULA to Y to indicate your acceptance of the license terms."
return false
end
end

Просмотреть файл

@ -14,7 +14,7 @@ class Msodbcsql17AT17811 < Formula
depends_on "openssl"
def check_eula_acceptance?
if ENV["ACCEPT_EULA"] != "y" && ENV["ACCEPT_EULA"] != "Y"
if ENV["HOMEBREW_ACCEPT_EULA"] != "y" && ENV["HOMEBREW_ACCEPT_EULA"] != "Y"
puts "The license terms for this product can be downloaded from"
puts "https://aka.ms/odbc17eula and found in"
puts "#{prefix}/share/doc/msodbcsql17/LICENSE.txt . By entering 'YES',"
@ -35,7 +35,7 @@ class Msodbcsql17AT17811 < Formula
else
puts "Installation terminated: Could not prompt for license acceptance."
puts "If you are performing an unattended installation, you may set"
puts "ACCEPT_EULA to Y to indicate your acceptance of the license terms."
puts "HOMEBREW_ACCEPT_EULA to Y to indicate your acceptance of the license terms."
return false
end
end

Просмотреть файл

@ -14,7 +14,7 @@ class Msodbcsql17AT17911 < Formula
depends_on "openssl"
def check_eula_acceptance?
if ENV["ACCEPT_EULA"] != "y" && ENV["ACCEPT_EULA"] != "Y"
if ENV["HOMEBREW_ACCEPT_EULA"] != "y" && ENV["HOMEBREW_ACCEPT_EULA"] != "Y"
puts "The license terms for this product can be downloaded from"
puts "https://aka.ms/odbc17eula and found in"
puts "#{prefix}/share/doc/msodbcsql17/LICENSE.txt . By entering 'YES',"
@ -35,7 +35,7 @@ class Msodbcsql17AT17911 < Formula
else
puts "Installation terminated: Could not prompt for license acceptance."
puts "If you are performing an unattended installation, you may set"
puts "ACCEPT_EULA to Y to indicate your acceptance of the license terms."
puts "HOMEBREW_ACCEPT_EULA to Y to indicate your acceptance of the license terms."
return false
end
end

Просмотреть файл

@ -14,7 +14,7 @@ class Msodbcsql18 < Formula
depends_on "openssl"
def check_eula_acceptance?
if ENV["ACCEPT_EULA"] != "y" && ENV["ACCEPT_EULA"] != "Y"
if ENV["HOMEBREW_ACCEPT_EULA"] != "y" && ENV["HOMEBREW_ACCEPT_EULA"] != "Y"
puts "The license terms for this product can be downloaded from"
puts "https://aka.ms/odbc18eula and found in"
puts "#{prefix}/share/doc/msodbcsql18/LICENSE.txt . By entering 'YES',"
@ -35,7 +35,7 @@ class Msodbcsql18 < Formula
else
puts "Installation terminated: Could not prompt for license acceptance."
puts "If you are performing an unattended installation, you may set"
puts "ACCEPT_EULA to Y to indicate your acceptance of the license terms."
puts "HOMEBREW_ACCEPT_EULA to Y to indicate your acceptance of the license terms."
return false
end
end

Просмотреть файл

@ -14,7 +14,7 @@ class Msodbcsql18AT18011 < Formula
depends_on "openssl"
def check_eula_acceptance?
if ENV["ACCEPT_EULA"] != "y" && ENV["ACCEPT_EULA"] != "Y"
if ENV["HOMEBREW_ACCEPT_EULA"] != "y" && ENV["HOMEBREW_ACCEPT_EULA"] != "Y"
puts "The license terms for this product can be downloaded from"
puts "https://aka.ms/odbc18eula and found in"
puts "#{prefix}/share/doc/msodbcsql18/LICENSE.txt . By entering 'YES',"
@ -35,7 +35,7 @@ class Msodbcsql18AT18011 < Formula
else
puts "Installation terminated: Could not prompt for license acceptance."
puts "If you are performing an unattended installation, you may set"
puts "ACCEPT_EULA to Y to indicate your acceptance of the license terms."
puts "HOMEBREW_ACCEPT_EULA to Y to indicate your acceptance of the license terms."
return false
end
end

Просмотреть файл

@ -14,7 +14,7 @@ class Msodbcsql18AT18111 < Formula
depends_on "openssl"
def check_eula_acceptance?
if ENV["ACCEPT_EULA"] != "y" && ENV["ACCEPT_EULA"] != "Y"
if ENV["HOMEBREW_ACCEPT_EULA"] != "y" && ENV["HOMEBREW_ACCEPT_EULA"] != "Y"
puts "The license terms for this product can be downloaded from"
puts "https://aka.ms/odbc18eula and found in"
puts "#{prefix}/share/doc/msodbcsql18/LICENSE.txt . By entering 'YES',"
@ -35,7 +35,7 @@ class Msodbcsql18AT18111 < Formula
else
puts "Installation terminated: Could not prompt for license acceptance."
puts "If you are performing an unattended installation, you may set"
puts "ACCEPT_EULA to Y to indicate your acceptance of the license terms."
puts "HOMEBREW_ACCEPT_EULA to Y to indicate your acceptance of the license terms."
return false
end
end

Просмотреть файл

@ -10,7 +10,7 @@ class MssqlTools18 < Formula
depends_on "msodbcsql18"
def check_eula_acceptance?
if ENV["ACCEPT_EULA"] != "y" && ENV["ACCEPT_EULA"] != "Y"
if ENV["HOMEBREW_ACCEPT_EULA"] != "y" && ENV["HOMEBREW_ACCEPT_EULA"] != "Y"
puts "The license terms for this product can be downloaded from"
puts "http://go.microsoft.com/fwlink/?LinkId=746949 and found in"
puts "#{prefix}/share/doc/mssql-tools18/LICENSE.txt . By entering 'YES',"
@ -30,7 +30,7 @@ class MssqlTools18 < Formula
else
puts "Installation terminated: Could not prompt for license acceptance."
puts "If you are performing an unattended installation, you may set"
puts "ACCEPT_EULA to Y to indicate your acceptance of the license terms."
puts "HOMEBREW_ACCEPT_EULA to Y to indicate your acceptance of the license terms."
return false
end
end

Просмотреть файл

@ -10,7 +10,7 @@ class MssqlTools18AT18011 < Formula
depends_on "msodbcsql18"
def check_eula_acceptance?
if ENV["ACCEPT_EULA"] != "y" && ENV["ACCEPT_EULA"] != "Y"
if ENV["HOMEBREW_ACCEPT_EULA"] != "y" && ENV["HOMEBREW_ACCEPT_EULA"] != "Y"
puts "The license terms for this product can be downloaded from"
puts "http://go.microsoft.com/fwlink/?LinkId=746949 and found in"
puts "#{prefix}/share/doc/mssql-tools18/LICENSE.txt . By entering 'YES',"
@ -30,7 +30,7 @@ class MssqlTools18AT18011 < Formula
else
puts "Installation terminated: Could not prompt for license acceptance."
puts "If you are performing an unattended installation, you may set"
puts "ACCEPT_EULA to Y to indicate your acceptance of the license terms."
puts "HOMEBREW_ACCEPT_EULA to Y to indicate your acceptance of the license terms."
return false
end
end

Просмотреть файл

@ -10,7 +10,7 @@ class MssqlTools18AT18111 < Formula
depends_on "msodbcsql18"
def check_eula_acceptance?
if ENV["ACCEPT_EULA"] != "y" && ENV["ACCEPT_EULA"] != "Y"
if ENV["HOMEBREW_ACCEPT_EULA"] != "y" && ENV["HOMEBREW_ACCEPT_EULA"] != "Y"
puts "The license terms for this product can be downloaded from"
puts "http://go.microsoft.com/fwlink/?LinkId=746949 and found in"
puts "#{prefix}/share/doc/mssql-tools18/LICENSE.txt . By entering 'YES',"
@ -30,7 +30,7 @@ class MssqlTools18AT18111 < Formula
else
puts "Installation terminated: Could not prompt for license acceptance."
puts "If you are performing an unattended installation, you may set"
puts "ACCEPT_EULA to Y to indicate your acceptance of the license terms."
puts "HOMEBREW_ACCEPT_EULA to Y to indicate your acceptance of the license terms."
return false
end
end

Просмотреть файл

@ -12,7 +12,7 @@ class MssqlToolsAT171011 < Formula
depends_on "msodbcsql17"
def check_eula_acceptance?
if ENV["ACCEPT_EULA"] != "y" && ENV["ACCEPT_EULA"] != "Y"
if ENV["HOMEBREW_ACCEPT_EULA"] != "y" && ENV["HOMEBREW_ACCEPT_EULA"] != "Y"
puts "The license terms for this product can be downloaded from"
puts "http://go.microsoft.com/fwlink/?LinkId=746949 and found in"
puts "/usr/local/share/doc/mssql-tools/LICENSE.txt . By entering 'YES',"
@ -32,7 +32,7 @@ class MssqlToolsAT171011 < Formula
else
puts "Installation terminated: Could not prompt for license acceptance."
puts "If you are performing an unattended installation, you may set"
puts "ACCEPT_EULA to Y to indicate your acceptance of the license terms."
puts "HOMEBREW_ACCEPT_EULA to Y to indicate your acceptance of the license terms."
return false
end
end

Просмотреть файл

@ -10,7 +10,7 @@ class MssqlToolsAT17311 < Formula
depends_on "msodbcsql17"
def check_eula_acceptance?
if ENV["ACCEPT_EULA"] != "y" && ENV["ACCEPT_EULA"] != "Y"
if ENV["HOMEBREW_ACCEPT_EULA"] != "y" && ENV["HOMEBREW_ACCEPT_EULA"] != "Y"
puts "The license terms for this product can be downloaded from"
puts "http://go.microsoft.com/fwlink/?LinkId=746949 and found in"
puts "/usr/local/share/doc/mssql-tools/LICENSE.txt . By entering 'YES',"
@ -30,7 +30,7 @@ class MssqlToolsAT17311 < Formula
else
puts "Installation terminated: Could not prompt for license acceptance."
puts "If you are performing an unattended installation, you may set"
puts "ACCEPT_EULA to Y to indicate your acceptance of the license terms."
puts "HOMEBREW_ACCEPT_EULA to Y to indicate your acceptance of the license terms."
return false
end
end

Просмотреть файл

@ -10,7 +10,7 @@ class MssqlToolsAT17411 < Formula
depends_on "msodbcsql17"
def check_eula_acceptance?
if ENV["ACCEPT_EULA"] != "y" && ENV["ACCEPT_EULA"] != "Y"
if ENV["HOMEBREW_ACCEPT_EULA"] != "y" && ENV["HOMEBREW_ACCEPT_EULA"] != "Y"
puts "The license terms for this product can be downloaded from"
puts "http://go.microsoft.com/fwlink/?LinkId=746949 and found in"
puts "/usr/local/share/doc/mssql-tools/LICENSE.txt . By entering 'YES',"
@ -30,7 +30,7 @@ class MssqlToolsAT17411 < Formula
else
puts "Installation terminated: Could not prompt for license acceptance."
puts "If you are performing an unattended installation, you may set"
puts "ACCEPT_EULA to Y to indicate your acceptance of the license terms."
puts "HOMEBREW_ACCEPT_EULA to Y to indicate your acceptance of the license terms."
return false
end
end

Просмотреть файл

@ -10,7 +10,7 @@ class MssqlToolsAT17512 < Formula
depends_on "msodbcsql17"
def check_eula_acceptance?
if ENV["ACCEPT_EULA"] != "y" && ENV["ACCEPT_EULA"] != "Y"
if ENV["HOMEBREW_ACCEPT_EULA"] != "y" && ENV["HOMEBREW_ACCEPT_EULA"] != "Y"
puts "The license terms for this product can be downloaded from"
puts "http://go.microsoft.com/fwlink/?LinkId=746949 and found in"
puts "/usr/local/share/doc/mssql-tools/LICENSE.txt . By entering 'YES',"
@ -30,7 +30,7 @@ class MssqlToolsAT17512 < Formula
else
puts "Installation terminated: Could not prompt for license acceptance."
puts "If you are performing an unattended installation, you may set"
puts "ACCEPT_EULA to Y to indicate your acceptance of the license terms."
puts "HOMEBREW_ACCEPT_EULA to Y to indicate your acceptance of the license terms."
return false
end
end

Просмотреть файл

@ -10,7 +10,7 @@ class MssqlToolsAT17521 < Formula
depends_on "msodbcsql17"
def check_eula_acceptance?
if ENV["ACCEPT_EULA"] != "y" && ENV["ACCEPT_EULA"] != "Y"
if ENV["HOMEBREW_ACCEPT_EULA"] != "y" && ENV["HOMEBREW_ACCEPT_EULA"] != "Y"
puts "The license terms for this product can be downloaded from"
puts "http://go.microsoft.com/fwlink/?LinkId=746949 and found in"
puts "/usr/local/share/doc/mssql-tools/LICENSE.txt . By entering 'YES',"
@ -30,7 +30,7 @@ class MssqlToolsAT17521 < Formula
else
puts "Installation terminated: Could not prompt for license acceptance."
puts "If you are performing an unattended installation, you may set"
puts "ACCEPT_EULA to Y to indicate your acceptance of the license terms."
puts "HOMEBREW_ACCEPT_EULA to Y to indicate your acceptance of the license terms."
return false
end
end

Просмотреть файл

@ -10,7 +10,7 @@ class MssqlToolsAT17611 < Formula
depends_on "msodbcsql17"
def check_eula_acceptance?
if ENV["ACCEPT_EULA"] != "y" && ENV["ACCEPT_EULA"] != "Y"
if ENV["HOMEBREW_ACCEPT_EULA"] != "y" && ENV["HOMEBREW_ACCEPT_EULA"] != "Y"
puts "The license terms for this product can be downloaded from"
puts "http://go.microsoft.com/fwlink/?LinkId=746949 and found in"
puts "/usr/local/share/doc/mssql-tools/LICENSE.txt . By entering 'YES',"
@ -30,7 +30,7 @@ class MssqlToolsAT17611 < Formula
else
puts "Installation terminated: Could not prompt for license acceptance."
puts "If you are performing an unattended installation, you may set"
puts "ACCEPT_EULA to Y to indicate your acceptance of the license terms."
puts "HOMEBREW_ACCEPT_EULA to Y to indicate your acceptance of the license terms."
return false
end
end

Просмотреть файл

@ -10,7 +10,7 @@ class MssqlToolsAT17711 < Formula
depends_on "msodbcsql17"
def check_eula_acceptance?
if ENV["ACCEPT_EULA"] != "y" && ENV["ACCEPT_EULA"] != "Y"
if ENV["HOMEBREW_ACCEPT_EULA"] != "y" && ENV["HOMEBREW_ACCEPT_EULA"] != "Y"
puts "The license terms for this product can be downloaded from"
puts "http://go.microsoft.com/fwlink/?LinkId=746949 and found in"
puts "/usr/local/share/doc/mssql-tools/LICENSE.txt . By entering 'YES',"
@ -30,7 +30,7 @@ class MssqlToolsAT17711 < Formula
else
puts "Installation terminated: Could not prompt for license acceptance."
puts "If you are performing an unattended installation, you may set"
puts "ACCEPT_EULA to Y to indicate your acceptance of the license terms."
puts "HOMEBREW_ACCEPT_EULA to Y to indicate your acceptance of the license terms."
return false
end
end

Просмотреть файл

@ -12,7 +12,7 @@ class MssqlToolsAT17811 < Formula
depends_on "msodbcsql17"
def check_eula_acceptance?
if ENV["ACCEPT_EULA"] != "y" && ENV["ACCEPT_EULA"] != "Y"
if ENV["HOMEBREW_ACCEPT_EULA"] != "y" && ENV["HOMEBREW_ACCEPT_EULA"] != "Y"
puts "The license terms for this product can be downloaded from"
puts "http://go.microsoft.com/fwlink/?LinkId=746949 and found in"
puts "/usr/local/share/doc/mssql-tools/LICENSE.txt . By entering 'YES',"
@ -32,7 +32,7 @@ class MssqlToolsAT17811 < Formula
else
puts "Installation terminated: Could not prompt for license acceptance."
puts "If you are performing an unattended installation, you may set"
puts "ACCEPT_EULA to Y to indicate your acceptance of the license terms."
puts "HOMEBREW_ACCEPT_EULA to Y to indicate your acceptance of the license terms."
return false
end
end

Просмотреть файл

@ -12,7 +12,7 @@ class MssqlToolsAT17911 < Formula
depends_on "msodbcsql17"
def check_eula_acceptance?
if ENV["ACCEPT_EULA"] != "y" && ENV["ACCEPT_EULA"] != "Y"
if ENV["HOMEBREW_ACCEPT_EULA"] != "y" && ENV["HOMEBREW_ACCEPT_EULA"] != "Y"
puts "The license terms for this product can be downloaded from"
puts "http://go.microsoft.com/fwlink/?LinkId=746949 and found in"
puts "/usr/local/share/doc/mssql-tools/LICENSE.txt . By entering 'YES',"
@ -32,7 +32,7 @@ class MssqlToolsAT17911 < Formula
else
puts "Installation terminated: Could not prompt for license acceptance."
puts "If you are performing an unattended installation, you may set"
puts "ACCEPT_EULA to Y to indicate your acceptance of the license terms."
puts "HOMEBREW_ACCEPT_EULA to Y to indicate your acceptance of the license terms."
return false
end
end