ScriptFileFormula: remove override warning
Closes Homebrew/homebrew#20445.
This commit is contained in:
parent
fc649af17a
commit
313134fbe3
@ -5,14 +5,6 @@ class ScriptFileFormula < Formula
|
|||||||
def install
|
def install
|
||||||
bin.install Dir['*']
|
bin.install Dir['*']
|
||||||
end
|
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
|
end
|
||||||
|
|
||||||
# See browser for an example
|
# See browser for an example
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user