From 313134fbe361acbf474a5ad9f507e230f70ff4ae Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Thu, 13 Jun 2013 09:34:27 -0700 Subject: [PATCH] ScriptFileFormula: remove override warning Closes Homebrew/homebrew#20445. --- Library/Homebrew/formula_specialties.rb | 8 -------- 1 file changed, 8 deletions(-) diff --git a/Library/Homebrew/formula_specialties.rb b/Library/Homebrew/formula_specialties.rb index e91c02dc01..2529243b20 100644 --- a/Library/Homebrew/formula_specialties.rb +++ b/Library/Homebrew/formula_specialties.rb @@ -5,14 +5,6 @@ class ScriptFileFormula < Formula def install bin.install Dir['*'] end - - def self.method_added method - super method - case method - when :install - opoo "#{name}: if you are overriding ScriptFileFormula#install, use a Formula instead" - end - end end # See browser for an example