From 47fc8cb0395abb2244ee04780944b8772b572e1c Mon Sep 17 00:00:00 2001 From: commitay Date: Tue, 15 May 2018 19:56:03 +1000 Subject: [PATCH] cask caveats dsl: add license --- Library/Homebrew/cask/lib/hbc/dsl/caveats.rb | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Library/Homebrew/cask/lib/hbc/dsl/caveats.rb b/Library/Homebrew/cask/lib/hbc/dsl/caveats.rb index e10575e0cf..761f85eb08 100644 --- a/Library/Homebrew/cask/lib/hbc/dsl/caveats.rb +++ b/Library/Homebrew/cask/lib/hbc/dsl/caveats.rb @@ -125,6 +125,13 @@ module Hbc EOS end + caveat :license do |web_page| + <<~EOS + Installing #{@cask} means you have AGREED to the license at + #{web_page} + EOS + end + caveat :free_license do |web_page| <<~EOS The vendor offers a free license for #{@cask} at