diff --git a/Library/Homebrew/cmd/update-report.rb b/Library/Homebrew/cmd/update-report.rb index 7bd939f1ffc6a..4d664f2d5b9d0 100644 --- a/Library/Homebrew/cmd/update-report.rb +++ b/Library/Homebrew/cmd/update-report.rb @@ -820,6 +820,8 @@ def dump_new_formula_report end def dump_new_cask_report + return if Homebrew::SimulateSystem.simulating_or_running_on_linux? + casks = select_formula_or_cask(:AC).sort.filter_map do |name| name.split("/").last unless cask_installed?(name) end @@ -836,6 +838,8 @@ def dump_deleted_formula_report end def dump_deleted_cask_report + return if Homebrew::SimulateSystem.simulating_or_running_on_linux? + casks = select_formula_or_cask(:DC).sort.filter_map do |name| name = name.split("/").last pretty_uninstalled(name) if cask_installed?(name)