diff options
Diffstat (limited to 'Library/Homebrew')
| -rw-r--r-- | Library/Homebrew/compat/formula.rb | 6 | ||||
| -rw-r--r-- | Library/Homebrew/formula.rb | 1 |
2 files changed, 5 insertions, 2 deletions
diff --git a/Library/Homebrew/compat/formula.rb b/Library/Homebrew/compat/formula.rb index ee948572e..d75ff4ae5 100644 --- a/Library/Homebrew/compat/formula.rb +++ b/Library/Homebrew/compat/formula.rb @@ -55,10 +55,14 @@ class Formula end def python(_options = {}, &block) - opoo "Formula#python is deprecated and will go away shortly." + opoo "Formula#python is deprecated." block.call if block_given? PythonRequirement.new end alias_method :python2, :python alias_method :python3, :python + + def startup_plist + opoo "startup_plist is deprecated: use plist instead." + end end diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index 3e6006b3b..93663e58d 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -725,7 +725,6 @@ class Formula def plist nil end - alias_method :startup_plist, :plist # The generated launchd {.plist} service name. def plist_name |
