Advertisement
sirgatez

Untitled

Apr 12th, 2023 (edited)
1,398
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ruby 0.87 KB | Source Code | 0 0
  1. diff --git a/Library/Homebrew/formula_installer.rb b/Library/Homebrew/formula_installer.rb
  2. index d69d38b36..b2c99bd29 100644
  3. --- a/Library/Homebrew/formula_installer.rb
  4. +++ b/Library/Homebrew/formula_installer.rb
  5. @@ -209,10 +209,12 @@ class FormulaInstaller
  6.          end
  7.        when :disabled
  8.          if reason.present?
  9. -          raise CannotInstallFormulaError, "#{formula.full_name} has been disabled because it #{reason}!"
  10. +          opoo "#{formula.full_name} has been disabled because it #{reason}!"
  11. +          #raise CannotInstallFormulaError, "#{formula.full_name} has been disabled because it #{reason}!"
  12.          end
  13.  
  14. -        raise CannotInstallFormulaError, "#{formula.full_name} has been disabled!"
  15. +        opoo "#{formula.full_name} has been disabled!"
  16. +        #raise CannotInstallFormulaError, "#{formula.full_name} has been disabled!"
  17.        end
  18.      end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement