diff --git a/Library/Homebrew/cask/pkg.rb b/Library/Homebrew/cask/pkg.rb index f6c4a2444f..f015ee9de8 100644 --- a/Library/Homebrew/cask/pkg.rb +++ b/Library/Homebrew/cask/pkg.rb @@ -3,6 +3,9 @@ require "cask/macos" module Cask + # Helper class for uninstalling `.pkg` installers. + # + # @api private class Pkg def self.all_matching(regexp, command) command.run("/usr/sbin/pkgutil", args: ["--pkgs=#{regexp}"]).stdout.split("\n").map do |package_id|