diff --git a/doc/CASK_LANGUAGE_REFERENCE.md b/doc/CASK_LANGUAGE_REFERENCE.md index 3358ac853038..25464a636af5 100644 --- a/doc/CASK_LANGUAGE_REFERENCE.md +++ b/doc/CASK_LANGUAGE_REFERENCE.md @@ -269,7 +269,7 @@ Example: ```ruby caveats do - manual_installer 'Little Snitch Installer.app' + path_environment_variable '/usr/texbin' end ``` diff --git a/lib/cask/caveats.rb b/lib/cask/caveats.rb index 4c9ef7398314..ad0ac147c9ab 100644 --- a/lib/cask/caveats.rb +++ b/lib/cask/caveats.rb @@ -49,17 +49,6 @@ def destination_path # to the output by the caller, but that feature is only for the # convenience of Cask authors. ) - # todo: remove this method after DSL 1.0 transition - def manual_installer(path) - puts <<-EOS.undent - To complete the installation of Cask #{@cask}, you must also - run the installer at - - '#{staged_path.join(path)}' - - EOS - end - def path_environment_variable(path) puts <<-EOS.undent To use #{@cask}, you may need to add the #{path} directory