diff --git a/Library/Homebrew/caveats.rb b/Library/Homebrew/caveats.rb index 7a85c71897..cbeb8a2335 100644 --- a/Library/Homebrew/caveats.rb +++ b/Library/Homebrew/caveats.rb @@ -136,7 +136,18 @@ class Caveats EOS end - def plist_caveats; end + def plist_caveats + return unless f.plist_manual + + # default to brew services not being supported. + # macOS will overwrite this behavior. + + <<~EOS + #{Formatter.warning("Warning:")} #{f.name} wants to install a service, which is currently only supported on macOS! + You can manually execute the service with: + #{f.plist_manual} + EOS + end def plist_path destination = if f.plist_startup